Documentation
¶
Index ¶
- func CfnOrganizationCentralizationRule_CFN_RESOURCE_TYPE_NAME() *string
- func CfnOrganizationCentralizationRule_IsCfnElement(x interface{}) *bool
- func CfnOrganizationCentralizationRule_IsCfnResource(x interface{}) *bool
- func CfnOrganizationCentralizationRule_IsConstruct(x interface{}) *bool
- func CfnOrganizationTelemetryRule_CFN_RESOURCE_TYPE_NAME() *string
- func CfnOrganizationTelemetryRule_IsCfnElement(x interface{}) *bool
- func CfnOrganizationTelemetryRule_IsCfnResource(x interface{}) *bool
- func CfnOrganizationTelemetryRule_IsConstruct(x interface{}) *bool
- func CfnTelemetryRule_CFN_RESOURCE_TYPE_NAME() *string
- func CfnTelemetryRule_IsCfnElement(x interface{}) *bool
- func CfnTelemetryRule_IsCfnResource(x interface{}) *bool
- func CfnTelemetryRule_IsConstruct(x interface{}) *bool
- func NewCfnOrganizationCentralizationRule_Override(c CfnOrganizationCentralizationRule, scope constructs.Construct, id *string, ...)
- func NewCfnOrganizationTelemetryRule_Override(c CfnOrganizationTelemetryRule, scope constructs.Construct, id *string, ...)
- func NewCfnTelemetryRule_Override(c CfnTelemetryRule, scope constructs.Construct, id *string, ...)
- type CfnOrganizationCentralizationRule
- type CfnOrganizationCentralizationRuleProps
- type CfnOrganizationCentralizationRule_CentralizationRuleDestinationProperty
- type CfnOrganizationCentralizationRule_CentralizationRuleProperty
- type CfnOrganizationCentralizationRule_CentralizationRuleSourceProperty
- type CfnOrganizationCentralizationRule_DestinationLogsConfigurationProperty
- type CfnOrganizationCentralizationRule_LogsBackupConfigurationProperty
- type CfnOrganizationCentralizationRule_LogsEncryptionConfigurationProperty
- type CfnOrganizationCentralizationRule_SourceLogsConfigurationProperty
- type CfnOrganizationTelemetryRule
- type CfnOrganizationTelemetryRuleProps
- type CfnOrganizationTelemetryRule_TelemetryDestinationConfigurationProperty
- type CfnOrganizationTelemetryRule_TelemetryRuleProperty
- type CfnOrganizationTelemetryRule_VPCFlowLogParametersProperty
- type CfnTelemetryRule
- type CfnTelemetryRuleProps
- type CfnTelemetryRule_TelemetryDestinationConfigurationProperty
- type CfnTelemetryRule_TelemetryRuleProperty
- type CfnTelemetryRule_VPCFlowLogParametersProperty
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CfnOrganizationCentralizationRule_CFN_RESOURCE_TYPE_NAME ¶ added in v2.220.0
func CfnOrganizationCentralizationRule_CFN_RESOURCE_TYPE_NAME() *string
func CfnOrganizationCentralizationRule_IsCfnElement ¶ added in v2.220.0
func CfnOrganizationCentralizationRule_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnOrganizationCentralizationRule_IsCfnResource ¶ added in v2.220.0
func CfnOrganizationCentralizationRule_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnOrganizationCentralizationRule_IsConstruct ¶ added in v2.220.0
func CfnOrganizationCentralizationRule_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnOrganizationTelemetryRule_CFN_RESOURCE_TYPE_NAME ¶
func CfnOrganizationTelemetryRule_CFN_RESOURCE_TYPE_NAME() *string
func CfnOrganizationTelemetryRule_IsCfnElement ¶
func CfnOrganizationTelemetryRule_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnOrganizationTelemetryRule_IsCfnResource ¶
func CfnOrganizationTelemetryRule_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnOrganizationTelemetryRule_IsConstruct ¶
func CfnOrganizationTelemetryRule_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnTelemetryRule_CFN_RESOURCE_TYPE_NAME ¶
func CfnTelemetryRule_CFN_RESOURCE_TYPE_NAME() *string
func CfnTelemetryRule_IsCfnElement ¶
func CfnTelemetryRule_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnTelemetryRule_IsCfnResource ¶
func CfnTelemetryRule_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnTelemetryRule_IsConstruct ¶
func CfnTelemetryRule_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func NewCfnOrganizationCentralizationRule_Override ¶ added in v2.220.0
func NewCfnOrganizationCentralizationRule_Override(c CfnOrganizationCentralizationRule, scope constructs.Construct, id *string, props *CfnOrganizationCentralizationRuleProps)
Create a new `AWS::ObservabilityAdmin::OrganizationCentralizationRule`.
func NewCfnOrganizationTelemetryRule_Override ¶
func NewCfnOrganizationTelemetryRule_Override(c CfnOrganizationTelemetryRule, scope constructs.Construct, id *string, props *CfnOrganizationTelemetryRuleProps)
Create a new `AWS::ObservabilityAdmin::OrganizationTelemetryRule`.
func NewCfnTelemetryRule_Override ¶
func NewCfnTelemetryRule_Override(c CfnTelemetryRule, scope constructs.Construct, id *string, props *CfnTelemetryRuleProps)
Create a new `AWS::ObservabilityAdmin::TelemetryRule`.
Types ¶
type CfnOrganizationCentralizationRule ¶ added in v2.220.0
type CfnOrganizationCentralizationRule interface {
awscdk.CfnResource
awscdk.IInspectable
interfacesawsobservabilityadmin.IOrganizationCentralizationRuleRef
awscdk.ITaggableV2
// The Amazon Resource Name (ARN) of the organization centralization rule.
AttrRuleArn() *string
// Tag Manager which manages the tags for this resource.
CdkTagManager() awscdk.TagManager
// Options for this resource, such as condition, update policy etc.
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
// AWS resource type.
CfnResourceType() *string
// Returns: the stack trace of the point where this Resource was created from, sourced
// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
// node +internal+ entries filtered.
CreationStack() *[]*string
Env() *interfaces.ResourceEnvironment
// The logical ID for this CloudFormation stack element.
//
// The logical ID of the element
// is calculated from the path of the resource node in the construct tree.
//
// To override this value, use `overrideLogicalId(newLogicalId)`.
//
// Returns: the logical ID as a stringified token. This value will only get
// resolved during synthesis.
LogicalId() *string
// The tree node.
Node() constructs.Node
// A reference to a OrganizationCentralizationRule resource.
OrganizationCentralizationRuleRef() *interfacesawsobservabilityadmin.OrganizationCentralizationRuleReference
// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
//
// If, by any chance, the intrinsic reference of a resource is not a string, you could
// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
Ref() *string
Rule() interface{}
SetRule(val interface{})
// The name of the organization centralization rule.
RuleName() *string
SetRuleName(val *string)
// The stack in which this element is defined.
//
// CfnElements must be defined within a stack scope (directly or indirectly).
Stack() awscdk.Stack
// A key-value pair to filter resources based on tags associated with the resource.
Tags() *[]*awscdk.CfnTag
SetTags(val *[]*awscdk.CfnTag)
// Deprecated.
// Deprecated: use `updatedProperties`
//
// Return properties modified after initiation
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperites() *map[string]interface{}
// Return properties modified after initiation.
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperties() *map[string]interface{}
// Syntactic sugar for `addOverride(path, undefined)`.
AddDeletionOverride(path *string)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
//
// This can be used for resources across stacks (or nested stack) boundaries
// and the dependency will automatically be transferred to the relevant scope.
AddDependency(target awscdk.CfnResource)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
// Deprecated: use addDependency.
AddDependsOn(target awscdk.CfnResource)
// Add a value to the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
AddMetadata(key *string, value interface{})
// Adds an override to the synthesized CloudFormation resource.
//
// To add a
// property override, either use `addPropertyOverride` or prefix `path` with
// "Properties." (i.e. `Properties.TopicName`).
//
// If the override is nested, separate each nested level using a dot (.) in the path parameter.
// If there is an array as part of the nesting, specify the index in the path.
//
// To include a literal `.` in the property name, prefix with a `\`. In most
// programming languages you will need to write this as `"\\."` because the
// `\` itself will need to be escaped.
//
// For example,
// “`typescript
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
// “`
// would add the overrides
// “`json
// "Properties": {
// "GlobalSecondaryIndexes": [
// {
// "Projection": {
// "NonKeyAttributes": [ "myattribute" ]
// ...
// }
// ...
// },
// {
// "ProjectionType": "INCLUDE"
// ...
// },
// ]
// ...
// }
// “`
//
// The `value` argument to `addOverride` will not be processed or translated
// in any way. Pass raw JSON values in here with the correct capitalization
// for CloudFormation. If you pass CDK classes or structs, they will be
// rendered with lowercased key names, and CloudFormation will reject the
// template.
AddOverride(path *string, value interface{})
// Adds an override that deletes the value of a property from the resource definition.
AddPropertyDeletionOverride(propertyPath *string)
// Adds an override to a resource property.
//
// Syntactic sugar for `addOverride("Properties.<...>", value)`.
AddPropertyOverride(propertyPath *string, value interface{})
// Sets the deletion policy of the resource based on the removal policy specified.
//
// The Removal Policy controls what happens to this resource when it stops
// being managed by CloudFormation, either because you've removed it from the
// CDK application or because you've made a change that requires the resource
// to be replaced.
//
// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
// cases, a snapshot can be taken of the resource prior to deletion
// (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
// can be found in the following link:.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
//
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
// Returns a token for an runtime attribute of this resource.
//
// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
// in case there is no generated attribute.
GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
// Retrieve a value value from the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
GetMetadata(key *string) interface{}
// Examines the CloudFormation resource and discloses attributes.
Inspect(inspector awscdk.TreeInspector)
// Retrieves an array of resources this resource depends on.
//
// This assembles dependencies on resources across stacks (including nested stacks)
// automatically.
ObtainDependencies() *[]interface{}
// Get a shallow copy of dependencies between this resource and other resources in the same stack.
ObtainResourceDependencies() *[]awscdk.CfnResource
// Overrides the auto-generated logical ID with a specific ID.
OverrideLogicalId(newLogicalId *string)
// Indicates that this resource no longer depends on another resource.
//
// This can be used for resources across stacks (including nested stacks)
// and the dependency will automatically be removed from the relevant scope.
RemoveDependency(target awscdk.CfnResource)
RenderProperties(props *map[string]interface{}) *map[string]interface{}
// Replaces one dependency with another.
ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
//
// Returns: `true` if the resource should be included or `false` is the resource
// should be omitted.
ShouldSynthesize() *bool
// Returns a string representation of this construct.
//
// Returns: a string representation of this resource.
ToString() *string
ValidateProperties(_properties interface{})
}
Defines how telemetry data should be centralized across an AWS Organization, including source and destination configurations.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnOrganizationCentralizationRule := awscdk.Aws_observabilityadmin.NewCfnOrganizationCentralizationRule(this, jsii.String("MyCfnOrganizationCentralizationRule"), &CfnOrganizationCentralizationRuleProps{
Rule: &CentralizationRuleProperty{
Destination: &CentralizationRuleDestinationProperty{
Region: jsii.String("region"),
// the properties below are optional
Account: jsii.String("account"),
DestinationLogsConfiguration: &DestinationLogsConfigurationProperty{
BackupConfiguration: &LogsBackupConfigurationProperty{
Region: jsii.String("region"),
// the properties below are optional
KmsKeyArn: jsii.String("kmsKeyArn"),
},
LogsEncryptionConfiguration: &LogsEncryptionConfigurationProperty{
EncryptionStrategy: jsii.String("encryptionStrategy"),
// the properties below are optional
EncryptionConflictResolutionStrategy: jsii.String("encryptionConflictResolutionStrategy"),
KmsKeyArn: jsii.String("kmsKeyArn"),
},
},
},
Source: &CentralizationRuleSourceProperty{
Regions: []*string{
jsii.String("regions"),
},
// the properties below are optional
Scope: jsii.String("scope"),
SourceLogsConfiguration: &SourceLogsConfigurationProperty{
EncryptedLogGroupStrategy: jsii.String("encryptedLogGroupStrategy"),
LogGroupSelectionCriteria: jsii.String("logGroupSelectionCriteria"),
},
},
},
RuleName: jsii.String("ruleName"),
// the properties below are optional
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
})
func NewCfnOrganizationCentralizationRule ¶ added in v2.220.0
func NewCfnOrganizationCentralizationRule(scope constructs.Construct, id *string, props *CfnOrganizationCentralizationRuleProps) CfnOrganizationCentralizationRule
Create a new `AWS::ObservabilityAdmin::OrganizationCentralizationRule`.
type CfnOrganizationCentralizationRuleProps ¶ added in v2.220.0
type CfnOrganizationCentralizationRuleProps struct {
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-observabilityadmin-organizationcentralizationrule.html#cfn-observabilityadmin-organizationcentralizationrule-rule
//
Rule interface{} `field:"required" json:"rule" yaml:"rule"`
// The name of the organization centralization rule.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-observabilityadmin-organizationcentralizationrule.html#cfn-observabilityadmin-organizationcentralizationrule-rulename
//
RuleName *string `field:"required" json:"ruleName" yaml:"ruleName"`
// A key-value pair to filter resources based on tags associated with the resource.
//
// For more information about tags, see [What are tags?](https://docs.aws.amazon.com/whitepapers/latest/tagging-best-practices/what-are-tags.html)
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-observabilityadmin-organizationcentralizationrule.html#cfn-observabilityadmin-organizationcentralizationrule-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}
Properties for defining a `CfnOrganizationCentralizationRule`.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnOrganizationCentralizationRuleProps := &CfnOrganizationCentralizationRuleProps{
Rule: &CentralizationRuleProperty{
Destination: &CentralizationRuleDestinationProperty{
Region: jsii.String("region"),
// the properties below are optional
Account: jsii.String("account"),
DestinationLogsConfiguration: &DestinationLogsConfigurationProperty{
BackupConfiguration: &LogsBackupConfigurationProperty{
Region: jsii.String("region"),
// the properties below are optional
KmsKeyArn: jsii.String("kmsKeyArn"),
},
LogsEncryptionConfiguration: &LogsEncryptionConfigurationProperty{
EncryptionStrategy: jsii.String("encryptionStrategy"),
// the properties below are optional
EncryptionConflictResolutionStrategy: jsii.String("encryptionConflictResolutionStrategy"),
KmsKeyArn: jsii.String("kmsKeyArn"),
},
},
},
Source: &CentralizationRuleSourceProperty{
Regions: []*string{
jsii.String("regions"),
},
// the properties below are optional
Scope: jsii.String("scope"),
SourceLogsConfiguration: &SourceLogsConfigurationProperty{
EncryptedLogGroupStrategy: jsii.String("encryptedLogGroupStrategy"),
LogGroupSelectionCriteria: jsii.String("logGroupSelectionCriteria"),
},
},
},
RuleName: jsii.String("ruleName"),
// the properties below are optional
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
type CfnOrganizationCentralizationRule_CentralizationRuleDestinationProperty ¶ added in v2.220.0
type CfnOrganizationCentralizationRule_CentralizationRuleDestinationProperty struct {
// The primary destination region to which telemetry data should be centralized.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-organizationcentralizationrule-centralizationruledestination.html#cfn-observabilityadmin-organizationcentralizationrule-centralizationruledestination-region
//
Region *string `field:"required" json:"region" yaml:"region"`
// The destination account (within the organization) to which the telemetry data should be centralized.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-organizationcentralizationrule-centralizationruledestination.html#cfn-observabilityadmin-organizationcentralizationrule-centralizationruledestination-account
//
Account *string `field:"optional" json:"account" yaml:"account"`
// Log specific configuration for centralization destination log groups.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-organizationcentralizationrule-centralizationruledestination.html#cfn-observabilityadmin-organizationcentralizationrule-centralizationruledestination-destinationlogsconfiguration
//
DestinationLogsConfiguration interface{} `field:"optional" json:"destinationLogsConfiguration" yaml:"destinationLogsConfiguration"`
}
Configuration specifying the primary destination for centralized telemetry data.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
centralizationRuleDestinationProperty := &CentralizationRuleDestinationProperty{
Region: jsii.String("region"),
// the properties below are optional
Account: jsii.String("account"),
DestinationLogsConfiguration: &DestinationLogsConfigurationProperty{
BackupConfiguration: &LogsBackupConfigurationProperty{
Region: jsii.String("region"),
// the properties below are optional
KmsKeyArn: jsii.String("kmsKeyArn"),
},
LogsEncryptionConfiguration: &LogsEncryptionConfigurationProperty{
EncryptionStrategy: jsii.String("encryptionStrategy"),
// the properties below are optional
EncryptionConflictResolutionStrategy: jsii.String("encryptionConflictResolutionStrategy"),
KmsKeyArn: jsii.String("kmsKeyArn"),
},
},
}
type CfnOrganizationCentralizationRule_CentralizationRuleProperty ¶ added in v2.220.0
type CfnOrganizationCentralizationRule_CentralizationRuleProperty struct {
// Configuration determining where the telemetry data should be centralized, backed up, as well as encryption configuration for the primary and backup destinations.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-organizationcentralizationrule-centralizationrule.html#cfn-observabilityadmin-organizationcentralizationrule-centralizationrule-destination
//
Destination interface{} `field:"required" json:"destination" yaml:"destination"`
// Configuration determining the source of the telemetry data to be centralized.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-organizationcentralizationrule-centralizationrule.html#cfn-observabilityadmin-organizationcentralizationrule-centralizationrule-source
//
Source interface{} `field:"required" json:"source" yaml:"source"`
}
Defines how telemetry data should be centralized across an AWS Organization, including source and destination configurations.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
centralizationRuleProperty := &CentralizationRuleProperty{
Destination: &CentralizationRuleDestinationProperty{
Region: jsii.String("region"),
// the properties below are optional
Account: jsii.String("account"),
DestinationLogsConfiguration: &DestinationLogsConfigurationProperty{
BackupConfiguration: &LogsBackupConfigurationProperty{
Region: jsii.String("region"),
// the properties below are optional
KmsKeyArn: jsii.String("kmsKeyArn"),
},
LogsEncryptionConfiguration: &LogsEncryptionConfigurationProperty{
EncryptionStrategy: jsii.String("encryptionStrategy"),
// the properties below are optional
EncryptionConflictResolutionStrategy: jsii.String("encryptionConflictResolutionStrategy"),
KmsKeyArn: jsii.String("kmsKeyArn"),
},
},
},
Source: &CentralizationRuleSourceProperty{
Regions: []*string{
jsii.String("regions"),
},
// the properties below are optional
Scope: jsii.String("scope"),
SourceLogsConfiguration: &SourceLogsConfigurationProperty{
EncryptedLogGroupStrategy: jsii.String("encryptedLogGroupStrategy"),
LogGroupSelectionCriteria: jsii.String("logGroupSelectionCriteria"),
},
},
}
type CfnOrganizationCentralizationRule_CentralizationRuleSourceProperty ¶ added in v2.220.0
type CfnOrganizationCentralizationRule_CentralizationRuleSourceProperty struct {
// The list of source regions from which telemetry data should be centralized.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-organizationcentralizationrule-centralizationrulesource.html#cfn-observabilityadmin-organizationcentralizationrule-centralizationrulesource-regions
//
Regions *[]*string `field:"required" json:"regions" yaml:"regions"`
// The organizational scope from which telemetry data should be centralized, specified using organization id, accounts or organizational unit ids.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-organizationcentralizationrule-centralizationrulesource.html#cfn-observabilityadmin-organizationcentralizationrule-centralizationrulesource-scope
//
Scope *string `field:"optional" json:"scope" yaml:"scope"`
// Log specific configuration for centralization source log groups.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-organizationcentralizationrule-centralizationrulesource.html#cfn-observabilityadmin-organizationcentralizationrule-centralizationrulesource-sourcelogsconfiguration
//
SourceLogsConfiguration interface{} `field:"optional" json:"sourceLogsConfiguration" yaml:"sourceLogsConfiguration"`
}
Configuration specifying the source of telemetry data to be centralized.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
centralizationRuleSourceProperty := &CentralizationRuleSourceProperty{
Regions: []*string{
jsii.String("regions"),
},
// the properties below are optional
Scope: jsii.String("scope"),
SourceLogsConfiguration: &SourceLogsConfigurationProperty{
EncryptedLogGroupStrategy: jsii.String("encryptedLogGroupStrategy"),
LogGroupSelectionCriteria: jsii.String("logGroupSelectionCriteria"),
},
}
type CfnOrganizationCentralizationRule_DestinationLogsConfigurationProperty ¶ added in v2.220.0
type CfnOrganizationCentralizationRule_DestinationLogsConfigurationProperty struct {
// Configuration defining the backup region and an optional KMS key for the backup destination.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-organizationcentralizationrule-destinationlogsconfiguration.html#cfn-observabilityadmin-organizationcentralizationrule-destinationlogsconfiguration-backupconfiguration
//
BackupConfiguration interface{} `field:"optional" json:"backupConfiguration" yaml:"backupConfiguration"`
// The encryption configuration for centralization destination log groups.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-organizationcentralizationrule-destinationlogsconfiguration.html#cfn-observabilityadmin-organizationcentralizationrule-destinationlogsconfiguration-logsencryptionconfiguration
//
LogsEncryptionConfiguration interface{} `field:"optional" json:"logsEncryptionConfiguration" yaml:"logsEncryptionConfiguration"`
}
Configuration for centralization destination log groups, including encryption and backup settings.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
destinationLogsConfigurationProperty := &DestinationLogsConfigurationProperty{
BackupConfiguration: &LogsBackupConfigurationProperty{
Region: jsii.String("region"),
// the properties below are optional
KmsKeyArn: jsii.String("kmsKeyArn"),
},
LogsEncryptionConfiguration: &LogsEncryptionConfigurationProperty{
EncryptionStrategy: jsii.String("encryptionStrategy"),
// the properties below are optional
EncryptionConflictResolutionStrategy: jsii.String("encryptionConflictResolutionStrategy"),
KmsKeyArn: jsii.String("kmsKeyArn"),
},
}
type CfnOrganizationCentralizationRule_LogsBackupConfigurationProperty ¶ added in v2.220.0
type CfnOrganizationCentralizationRule_LogsBackupConfigurationProperty struct {
// Logs specific backup destination region within the primary destination account to which log data should be centralized.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-organizationcentralizationrule-logsbackupconfiguration.html#cfn-observabilityadmin-organizationcentralizationrule-logsbackupconfiguration-region
//
Region *string `field:"required" json:"region" yaml:"region"`
// KMS Key ARN belonging to the primary destination account and backup region, to encrypt newly created central log groups in the backup destination.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-organizationcentralizationrule-logsbackupconfiguration.html#cfn-observabilityadmin-organizationcentralizationrule-logsbackupconfiguration-kmskeyarn
//
KmsKeyArn *string `field:"optional" json:"kmsKeyArn" yaml:"kmsKeyArn"`
}
Configuration for backing up centralized log data to a secondary region.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
logsBackupConfigurationProperty := &LogsBackupConfigurationProperty{
Region: jsii.String("region"),
// the properties below are optional
KmsKeyArn: jsii.String("kmsKeyArn"),
}
type CfnOrganizationCentralizationRule_LogsEncryptionConfigurationProperty ¶ added in v2.220.0
type CfnOrganizationCentralizationRule_LogsEncryptionConfigurationProperty struct {
// Configuration that determines the encryption strategy of the destination log groups.
//
// CUSTOMER_MANAGED uses the configured KmsKeyArn to encrypt newly created destination log groups.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-organizationcentralizationrule-logsencryptionconfiguration.html#cfn-observabilityadmin-organizationcentralizationrule-logsencryptionconfiguration-encryptionstrategy
//
EncryptionStrategy *string `field:"required" json:"encryptionStrategy" yaml:"encryptionStrategy"`
// Conflict resolution strategy for centralization if the encryption strategy is set to CUSTOMER_MANAGED and the destination log group is encrypted with an AWS_OWNED KMS Key.
//
// ALLOW lets centralization go through while SKIP prevents centralization into the destination log group.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-organizationcentralizationrule-logsencryptionconfiguration.html#cfn-observabilityadmin-organizationcentralizationrule-logsencryptionconfiguration-encryptionconflictresolutionstrategy
//
EncryptionConflictResolutionStrategy *string `field:"optional" json:"encryptionConflictResolutionStrategy" yaml:"encryptionConflictResolutionStrategy"`
// KMS Key ARN belonging to the primary destination account and region, to encrypt newly created central log groups in the primary destination.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-organizationcentralizationrule-logsencryptionconfiguration.html#cfn-observabilityadmin-organizationcentralizationrule-logsencryptionconfiguration-kmskeyarn
//
KmsKeyArn *string `field:"optional" json:"kmsKeyArn" yaml:"kmsKeyArn"`
}
Configuration for encrypting centralized log groups.
This configuration is only applied to destination log groups for which the corresponding source log groups are encrypted using Customer Managed KMS Keys.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
logsEncryptionConfigurationProperty := &LogsEncryptionConfigurationProperty{
EncryptionStrategy: jsii.String("encryptionStrategy"),
// the properties below are optional
EncryptionConflictResolutionStrategy: jsii.String("encryptionConflictResolutionStrategy"),
KmsKeyArn: jsii.String("kmsKeyArn"),
}
type CfnOrganizationCentralizationRule_SourceLogsConfigurationProperty ¶ added in v2.220.0
type CfnOrganizationCentralizationRule_SourceLogsConfigurationProperty struct {
// A strategy determining whether to centralize source log groups that are encrypted with customer managed KMS keys (CMK).
//
// ALLOW will consider CMK encrypted source log groups for centralization while SKIP will skip CMK encrypted source log groups from centralization.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-organizationcentralizationrule-sourcelogsconfiguration.html#cfn-observabilityadmin-organizationcentralizationrule-sourcelogsconfiguration-encryptedloggroupstrategy
//
EncryptedLogGroupStrategy *string `field:"required" json:"encryptedLogGroupStrategy" yaml:"encryptedLogGroupStrategy"`
// The selection criteria that specifies which source log groups to centralize.
//
// The selection criteria uses the same format as OAM link filters.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-organizationcentralizationrule-sourcelogsconfiguration.html#cfn-observabilityadmin-organizationcentralizationrule-sourcelogsconfiguration-loggroupselectioncriteria
//
LogGroupSelectionCriteria *string `field:"required" json:"logGroupSelectionCriteria" yaml:"logGroupSelectionCriteria"`
}
Configuration for selecting and handling source log groups for centralization.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
sourceLogsConfigurationProperty := &SourceLogsConfigurationProperty{
EncryptedLogGroupStrategy: jsii.String("encryptedLogGroupStrategy"),
LogGroupSelectionCriteria: jsii.String("logGroupSelectionCriteria"),
}
type CfnOrganizationTelemetryRule ¶
type CfnOrganizationTelemetryRule interface {
awscdk.CfnResource
awscdk.IInspectable
interfacesawsobservabilityadmin.IOrganizationTelemetryRuleRef
awscdk.ITaggableV2
// The arn of the organization telemetry rule.
AttrRuleArn() *string
// Tag Manager which manages the tags for this resource.
CdkTagManager() awscdk.TagManager
// Options for this resource, such as condition, update policy etc.
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
// AWS resource type.
CfnResourceType() *string
// Returns: the stack trace of the point where this Resource was created from, sourced
// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
// node +internal+ entries filtered.
CreationStack() *[]*string
Env() *interfaces.ResourceEnvironment
// The logical ID for this CloudFormation stack element.
//
// The logical ID of the element
// is calculated from the path of the resource node in the construct tree.
//
// To override this value, use `overrideLogicalId(newLogicalId)`.
//
// Returns: the logical ID as a stringified token. This value will only get
// resolved during synthesis.
LogicalId() *string
// The tree node.
Node() constructs.Node
// A reference to a OrganizationTelemetryRule resource.
OrganizationTelemetryRuleRef() *interfacesawsobservabilityadmin.OrganizationTelemetryRuleReference
// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
//
// If, by any chance, the intrinsic reference of a resource is not a string, you could
// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
Ref() *string
// The name of the organization telemetry rule.
Rule() interface{}
SetRule(val interface{})
// The name of the organization centralization rule.
RuleName() *string
SetRuleName(val *string)
// The stack in which this element is defined.
//
// CfnElements must be defined within a stack scope (directly or indirectly).
Stack() awscdk.Stack
// Lists all tags attached to the specified telemetry rule resource.
Tags() *[]*awscdk.CfnTag
SetTags(val *[]*awscdk.CfnTag)
// Deprecated.
// Deprecated: use `updatedProperties`
//
// Return properties modified after initiation
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperites() *map[string]interface{}
// Return properties modified after initiation.
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperties() *map[string]interface{}
// Syntactic sugar for `addOverride(path, undefined)`.
AddDeletionOverride(path *string)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
//
// This can be used for resources across stacks (or nested stack) boundaries
// and the dependency will automatically be transferred to the relevant scope.
AddDependency(target awscdk.CfnResource)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
// Deprecated: use addDependency.
AddDependsOn(target awscdk.CfnResource)
// Add a value to the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
AddMetadata(key *string, value interface{})
// Adds an override to the synthesized CloudFormation resource.
//
// To add a
// property override, either use `addPropertyOverride` or prefix `path` with
// "Properties." (i.e. `Properties.TopicName`).
//
// If the override is nested, separate each nested level using a dot (.) in the path parameter.
// If there is an array as part of the nesting, specify the index in the path.
//
// To include a literal `.` in the property name, prefix with a `\`. In most
// programming languages you will need to write this as `"\\."` because the
// `\` itself will need to be escaped.
//
// For example,
// “`typescript
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
// “`
// would add the overrides
// “`json
// "Properties": {
// "GlobalSecondaryIndexes": [
// {
// "Projection": {
// "NonKeyAttributes": [ "myattribute" ]
// ...
// }
// ...
// },
// {
// "ProjectionType": "INCLUDE"
// ...
// },
// ]
// ...
// }
// “`
//
// The `value` argument to `addOverride` will not be processed or translated
// in any way. Pass raw JSON values in here with the correct capitalization
// for CloudFormation. If you pass CDK classes or structs, they will be
// rendered with lowercased key names, and CloudFormation will reject the
// template.
AddOverride(path *string, value interface{})
// Adds an override that deletes the value of a property from the resource definition.
AddPropertyDeletionOverride(propertyPath *string)
// Adds an override to a resource property.
//
// Syntactic sugar for `addOverride("Properties.<...>", value)`.
AddPropertyOverride(propertyPath *string, value interface{})
// Sets the deletion policy of the resource based on the removal policy specified.
//
// The Removal Policy controls what happens to this resource when it stops
// being managed by CloudFormation, either because you've removed it from the
// CDK application or because you've made a change that requires the resource
// to be replaced.
//
// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
// cases, a snapshot can be taken of the resource prior to deletion
// (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
// can be found in the following link:.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
//
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
// Returns a token for an runtime attribute of this resource.
//
// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
// in case there is no generated attribute.
GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
// Retrieve a value value from the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
GetMetadata(key *string) interface{}
// Examines the CloudFormation resource and discloses attributes.
Inspect(inspector awscdk.TreeInspector)
// Retrieves an array of resources this resource depends on.
//
// This assembles dependencies on resources across stacks (including nested stacks)
// automatically.
ObtainDependencies() *[]interface{}
// Get a shallow copy of dependencies between this resource and other resources in the same stack.
ObtainResourceDependencies() *[]awscdk.CfnResource
// Overrides the auto-generated logical ID with a specific ID.
OverrideLogicalId(newLogicalId *string)
// Indicates that this resource no longer depends on another resource.
//
// This can be used for resources across stacks (including nested stacks)
// and the dependency will automatically be removed from the relevant scope.
RemoveDependency(target awscdk.CfnResource)
RenderProperties(props *map[string]interface{}) *map[string]interface{}
// Replaces one dependency with another.
ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
//
// Returns: `true` if the resource should be included or `false` is the resource
// should be omitted.
ShouldSynthesize() *bool
// Returns a string representation of this construct.
//
// Returns: a string representation of this resource.
ToString() *string
ValidateProperties(_properties interface{})
}
Retrieves the details of a specific organization centralization rule.
This operation can only be called by the organization's management account or a delegated administrator account.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnOrganizationTelemetryRule := awscdk.Aws_observabilityadmin.NewCfnOrganizationTelemetryRule(this, jsii.String("MyCfnOrganizationTelemetryRule"), &CfnOrganizationTelemetryRuleProps{
Rule: &TelemetryRuleProperty{
ResourceType: jsii.String("resourceType"),
TelemetryType: jsii.String("telemetryType"),
// the properties below are optional
DestinationConfiguration: &TelemetryDestinationConfigurationProperty{
DestinationPattern: jsii.String("destinationPattern"),
DestinationType: jsii.String("destinationType"),
RetentionInDays: jsii.Number(123),
VpcFlowLogParameters: &VPCFlowLogParametersProperty{
LogFormat: jsii.String("logFormat"),
MaxAggregationInterval: jsii.Number(123),
TrafficType: jsii.String("trafficType"),
},
},
Scope: jsii.String("scope"),
SelectionCriteria: jsii.String("selectionCriteria"),
},
RuleName: jsii.String("ruleName"),
// the properties below are optional
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
})
func NewCfnOrganizationTelemetryRule ¶
func NewCfnOrganizationTelemetryRule(scope constructs.Construct, id *string, props *CfnOrganizationTelemetryRuleProps) CfnOrganizationTelemetryRule
Create a new `AWS::ObservabilityAdmin::OrganizationTelemetryRule`.
type CfnOrganizationTelemetryRuleProps ¶
type CfnOrganizationTelemetryRuleProps struct {
// The name of the organization telemetry rule.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-observabilityadmin-organizationtelemetryrule.html#cfn-observabilityadmin-organizationtelemetryrule-rule
//
Rule interface{} `field:"required" json:"rule" yaml:"rule"`
// The name of the organization centralization rule.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-observabilityadmin-organizationtelemetryrule.html#cfn-observabilityadmin-organizationtelemetryrule-rulename
//
RuleName *string `field:"required" json:"ruleName" yaml:"ruleName"`
// Lists all tags attached to the specified telemetry rule resource.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-observabilityadmin-organizationtelemetryrule.html#cfn-observabilityadmin-organizationtelemetryrule-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}
Properties for defining a `CfnOrganizationTelemetryRule`.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnOrganizationTelemetryRuleProps := &CfnOrganizationTelemetryRuleProps{
Rule: &TelemetryRuleProperty{
ResourceType: jsii.String("resourceType"),
TelemetryType: jsii.String("telemetryType"),
// the properties below are optional
DestinationConfiguration: &TelemetryDestinationConfigurationProperty{
DestinationPattern: jsii.String("destinationPattern"),
DestinationType: jsii.String("destinationType"),
RetentionInDays: jsii.Number(123),
VpcFlowLogParameters: &VPCFlowLogParametersProperty{
LogFormat: jsii.String("logFormat"),
MaxAggregationInterval: jsii.Number(123),
TrafficType: jsii.String("trafficType"),
},
},
Scope: jsii.String("scope"),
SelectionCriteria: jsii.String("selectionCriteria"),
},
RuleName: jsii.String("ruleName"),
// the properties below are optional
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
type CfnOrganizationTelemetryRule_TelemetryDestinationConfigurationProperty ¶
type CfnOrganizationTelemetryRule_TelemetryDestinationConfigurationProperty struct {
// The pattern used to generate the destination path or name, supporting macros like <resourceId> and <accountId>.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-organizationtelemetryrule-telemetrydestinationconfiguration.html#cfn-observabilityadmin-organizationtelemetryrule-telemetrydestinationconfiguration-destinationpattern
//
DestinationPattern *string `field:"optional" json:"destinationPattern" yaml:"destinationPattern"`
// The type of destination for the telemetry data (e.g., "Amazon CloudWatch Logs", "S3").
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-organizationtelemetryrule-telemetrydestinationconfiguration.html#cfn-observabilityadmin-organizationtelemetryrule-telemetrydestinationconfiguration-destinationtype
//
DestinationType *string `field:"optional" json:"destinationType" yaml:"destinationType"`
// The number of days to retain the telemetry data in the destination.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-organizationtelemetryrule-telemetrydestinationconfiguration.html#cfn-observabilityadmin-organizationtelemetryrule-telemetrydestinationconfiguration-retentionindays
//
RetentionInDays *float64 `field:"optional" json:"retentionInDays" yaml:"retentionInDays"`
// Configuration parameters specific to VPC Flow Logs when VPC is the resource type.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-organizationtelemetryrule-telemetrydestinationconfiguration.html#cfn-observabilityadmin-organizationtelemetryrule-telemetrydestinationconfiguration-vpcflowlogparameters
//
VpcFlowLogParameters interface{} `field:"optional" json:"vpcFlowLogParameters" yaml:"vpcFlowLogParameters"`
}
Configuration specifying where and how telemetry data should be delivered for AWS resources.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
telemetryDestinationConfigurationProperty := &TelemetryDestinationConfigurationProperty{
DestinationPattern: jsii.String("destinationPattern"),
DestinationType: jsii.String("destinationType"),
RetentionInDays: jsii.Number(123),
VpcFlowLogParameters: &VPCFlowLogParametersProperty{
LogFormat: jsii.String("logFormat"),
MaxAggregationInterval: jsii.Number(123),
TrafficType: jsii.String("trafficType"),
},
}
type CfnOrganizationTelemetryRule_TelemetryRuleProperty ¶
type CfnOrganizationTelemetryRule_TelemetryRuleProperty struct {
// The type of AWS resource to configure telemetry for (e.g., "AWS::EC2::VPC").
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-organizationtelemetryrule-telemetryrule.html#cfn-observabilityadmin-organizationtelemetryrule-telemetryrule-resourcetype
//
ResourceType *string `field:"required" json:"resourceType" yaml:"resourceType"`
// The type of telemetry to collect (Logs, Metrics, or Traces).
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-organizationtelemetryrule-telemetryrule.html#cfn-observabilityadmin-organizationtelemetryrule-telemetryrule-telemetrytype
//
TelemetryType *string `field:"required" json:"telemetryType" yaml:"telemetryType"`
// Configuration specifying where and how the telemetry data should be delivered.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-organizationtelemetryrule-telemetryrule.html#cfn-observabilityadmin-organizationtelemetryrule-telemetryrule-destinationconfiguration
//
DestinationConfiguration interface{} `field:"optional" json:"destinationConfiguration" yaml:"destinationConfiguration"`
// The organizational scope to which the rule applies, specified using accounts or organizational units.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-organizationtelemetryrule-telemetryrule.html#cfn-observabilityadmin-organizationtelemetryrule-telemetryrule-scope
//
Scope *string `field:"optional" json:"scope" yaml:"scope"`
// Criteria for selecting which resources the rule applies to, such as resource tags.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-organizationtelemetryrule-telemetryrule.html#cfn-observabilityadmin-organizationtelemetryrule-telemetryrule-selectioncriteria
//
SelectionCriteria *string `field:"optional" json:"selectionCriteria" yaml:"selectionCriteria"`
}
Defines how telemetry should be configured for specific AWS resources.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
telemetryRuleProperty := &TelemetryRuleProperty{
ResourceType: jsii.String("resourceType"),
TelemetryType: jsii.String("telemetryType"),
// the properties below are optional
DestinationConfiguration: &TelemetryDestinationConfigurationProperty{
DestinationPattern: jsii.String("destinationPattern"),
DestinationType: jsii.String("destinationType"),
RetentionInDays: jsii.Number(123),
VpcFlowLogParameters: &VPCFlowLogParametersProperty{
LogFormat: jsii.String("logFormat"),
MaxAggregationInterval: jsii.Number(123),
TrafficType: jsii.String("trafficType"),
},
},
Scope: jsii.String("scope"),
SelectionCriteria: jsii.String("selectionCriteria"),
}
type CfnOrganizationTelemetryRule_VPCFlowLogParametersProperty ¶
type CfnOrganizationTelemetryRule_VPCFlowLogParametersProperty struct {
// The format in which VPC Flow Log entries should be logged.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-organizationtelemetryrule-vpcflowlogparameters.html#cfn-observabilityadmin-organizationtelemetryrule-vpcflowlogparameters-logformat
//
LogFormat *string `field:"optional" json:"logFormat" yaml:"logFormat"`
// The maximum interval in seconds between the capture of flow log records.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-organizationtelemetryrule-vpcflowlogparameters.html#cfn-observabilityadmin-organizationtelemetryrule-vpcflowlogparameters-maxaggregationinterval
//
MaxAggregationInterval *float64 `field:"optional" json:"maxAggregationInterval" yaml:"maxAggregationInterval"`
// The type of traffic to log (ACCEPT, REJECT, or ALL).
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-organizationtelemetryrule-vpcflowlogparameters.html#cfn-observabilityadmin-organizationtelemetryrule-vpcflowlogparameters-traffictype
//
TrafficType *string `field:"optional" json:"trafficType" yaml:"trafficType"`
}
Configuration parameters specific to VPC Flow Logs.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
vPCFlowLogParametersProperty := &VPCFlowLogParametersProperty{
LogFormat: jsii.String("logFormat"),
MaxAggregationInterval: jsii.Number(123),
TrafficType: jsii.String("trafficType"),
}
type CfnTelemetryRule ¶
type CfnTelemetryRule interface {
awscdk.CfnResource
awscdk.IInspectable
interfacesawsobservabilityadmin.ITelemetryRuleRef
awscdk.ITaggableV2
// The Amazon Resource Name (ARN) of the telemetry rule.
AttrRuleArn() *string
// Tag Manager which manages the tags for this resource.
CdkTagManager() awscdk.TagManager
// Options for this resource, such as condition, update policy etc.
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
// AWS resource type.
CfnResourceType() *string
// Returns: the stack trace of the point where this Resource was created from, sourced
// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
// node +internal+ entries filtered.
CreationStack() *[]*string
Env() *interfaces.ResourceEnvironment
// The logical ID for this CloudFormation stack element.
//
// The logical ID of the element
// is calculated from the path of the resource node in the construct tree.
//
// To override this value, use `overrideLogicalId(newLogicalId)`.
//
// Returns: the logical ID as a stringified token. This value will only get
// resolved during synthesis.
LogicalId() *string
// The tree node.
Node() constructs.Node
// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
//
// If, by any chance, the intrinsic reference of a resource is not a string, you could
// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
Ref() *string
// Retrieves the details of a specific telemetry rule in your account.
Rule() interface{}
SetRule(val interface{})
// The name of the telemetry rule.
RuleName() *string
SetRuleName(val *string)
// The stack in which this element is defined.
//
// CfnElements must be defined within a stack scope (directly or indirectly).
Stack() awscdk.Stack
// Lists all tags attached to the specified telemetry rule resource.
Tags() *[]*awscdk.CfnTag
SetTags(val *[]*awscdk.CfnTag)
// A reference to a TelemetryRule resource.
TelemetryRuleRef() *interfacesawsobservabilityadmin.TelemetryRuleReference
// Deprecated.
// Deprecated: use `updatedProperties`
//
// Return properties modified after initiation
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperites() *map[string]interface{}
// Return properties modified after initiation.
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperties() *map[string]interface{}
// Syntactic sugar for `addOverride(path, undefined)`.
AddDeletionOverride(path *string)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
//
// This can be used for resources across stacks (or nested stack) boundaries
// and the dependency will automatically be transferred to the relevant scope.
AddDependency(target awscdk.CfnResource)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
// Deprecated: use addDependency.
AddDependsOn(target awscdk.CfnResource)
// Add a value to the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
AddMetadata(key *string, value interface{})
// Adds an override to the synthesized CloudFormation resource.
//
// To add a
// property override, either use `addPropertyOverride` or prefix `path` with
// "Properties." (i.e. `Properties.TopicName`).
//
// If the override is nested, separate each nested level using a dot (.) in the path parameter.
// If there is an array as part of the nesting, specify the index in the path.
//
// To include a literal `.` in the property name, prefix with a `\`. In most
// programming languages you will need to write this as `"\\."` because the
// `\` itself will need to be escaped.
//
// For example,
// “`typescript
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
// “`
// would add the overrides
// “`json
// "Properties": {
// "GlobalSecondaryIndexes": [
// {
// "Projection": {
// "NonKeyAttributes": [ "myattribute" ]
// ...
// }
// ...
// },
// {
// "ProjectionType": "INCLUDE"
// ...
// },
// ]
// ...
// }
// “`
//
// The `value` argument to `addOverride` will not be processed or translated
// in any way. Pass raw JSON values in here with the correct capitalization
// for CloudFormation. If you pass CDK classes or structs, they will be
// rendered with lowercased key names, and CloudFormation will reject the
// template.
AddOverride(path *string, value interface{})
// Adds an override that deletes the value of a property from the resource definition.
AddPropertyDeletionOverride(propertyPath *string)
// Adds an override to a resource property.
//
// Syntactic sugar for `addOverride("Properties.<...>", value)`.
AddPropertyOverride(propertyPath *string, value interface{})
// Sets the deletion policy of the resource based on the removal policy specified.
//
// The Removal Policy controls what happens to this resource when it stops
// being managed by CloudFormation, either because you've removed it from the
// CDK application or because you've made a change that requires the resource
// to be replaced.
//
// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
// cases, a snapshot can be taken of the resource prior to deletion
// (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
// can be found in the following link:.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
//
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
// Returns a token for an runtime attribute of this resource.
//
// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
// in case there is no generated attribute.
GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
// Retrieve a value value from the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
GetMetadata(key *string) interface{}
// Examines the CloudFormation resource and discloses attributes.
Inspect(inspector awscdk.TreeInspector)
// Retrieves an array of resources this resource depends on.
//
// This assembles dependencies on resources across stacks (including nested stacks)
// automatically.
ObtainDependencies() *[]interface{}
// Get a shallow copy of dependencies between this resource and other resources in the same stack.
ObtainResourceDependencies() *[]awscdk.CfnResource
// Overrides the auto-generated logical ID with a specific ID.
OverrideLogicalId(newLogicalId *string)
// Indicates that this resource no longer depends on another resource.
//
// This can be used for resources across stacks (including nested stacks)
// and the dependency will automatically be removed from the relevant scope.
RemoveDependency(target awscdk.CfnResource)
RenderProperties(props *map[string]interface{}) *map[string]interface{}
// Replaces one dependency with another.
ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
//
// Returns: `true` if the resource should be included or `false` is the resource
// should be omitted.
ShouldSynthesize() *bool
// Returns a string representation of this construct.
//
// Returns: a string representation of this resource.
ToString() *string
ValidateProperties(_properties interface{})
}
Creates a telemetry rule that defines how telemetry should be configured for AWS resources in your account.
The rule specifies which resources should have telemetry enabled and how that telemetry data should be collected based on resource type, telemetry type, and selection criteria.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnTelemetryRule := awscdk.Aws_observabilityadmin.NewCfnTelemetryRule(this, jsii.String("MyCfnTelemetryRule"), &CfnTelemetryRuleProps{
Rule: &TelemetryRuleProperty{
ResourceType: jsii.String("resourceType"),
TelemetryType: jsii.String("telemetryType"),
// the properties below are optional
DestinationConfiguration: &TelemetryDestinationConfigurationProperty{
DestinationPattern: jsii.String("destinationPattern"),
DestinationType: jsii.String("destinationType"),
RetentionInDays: jsii.Number(123),
VpcFlowLogParameters: &VPCFlowLogParametersProperty{
LogFormat: jsii.String("logFormat"),
MaxAggregationInterval: jsii.Number(123),
TrafficType: jsii.String("trafficType"),
},
},
SelectionCriteria: jsii.String("selectionCriteria"),
},
RuleName: jsii.String("ruleName"),
// the properties below are optional
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
})
func NewCfnTelemetryRule ¶
func NewCfnTelemetryRule(scope constructs.Construct, id *string, props *CfnTelemetryRuleProps) CfnTelemetryRule
Create a new `AWS::ObservabilityAdmin::TelemetryRule`.
type CfnTelemetryRuleProps ¶
type CfnTelemetryRuleProps struct {
// Retrieves the details of a specific telemetry rule in your account.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-observabilityadmin-telemetryrule.html#cfn-observabilityadmin-telemetryrule-rule
//
Rule interface{} `field:"required" json:"rule" yaml:"rule"`
// The name of the telemetry rule.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-observabilityadmin-telemetryrule.html#cfn-observabilityadmin-telemetryrule-rulename
//
RuleName *string `field:"required" json:"ruleName" yaml:"ruleName"`
// Lists all tags attached to the specified telemetry rule resource.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-observabilityadmin-telemetryrule.html#cfn-observabilityadmin-telemetryrule-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}
Properties for defining a `CfnTelemetryRule`.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnTelemetryRuleProps := &CfnTelemetryRuleProps{
Rule: &TelemetryRuleProperty{
ResourceType: jsii.String("resourceType"),
TelemetryType: jsii.String("telemetryType"),
// the properties below are optional
DestinationConfiguration: &TelemetryDestinationConfigurationProperty{
DestinationPattern: jsii.String("destinationPattern"),
DestinationType: jsii.String("destinationType"),
RetentionInDays: jsii.Number(123),
VpcFlowLogParameters: &VPCFlowLogParametersProperty{
LogFormat: jsii.String("logFormat"),
MaxAggregationInterval: jsii.Number(123),
TrafficType: jsii.String("trafficType"),
},
},
SelectionCriteria: jsii.String("selectionCriteria"),
},
RuleName: jsii.String("ruleName"),
// the properties below are optional
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
type CfnTelemetryRule_TelemetryDestinationConfigurationProperty ¶
type CfnTelemetryRule_TelemetryDestinationConfigurationProperty struct {
// The pattern used to generate the destination path or name, supporting macros like <resourceId> and <accountId>.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-telemetryrule-telemetrydestinationconfiguration.html#cfn-observabilityadmin-telemetryrule-telemetrydestinationconfiguration-destinationpattern
//
DestinationPattern *string `field:"optional" json:"destinationPattern" yaml:"destinationPattern"`
// The type of destination for the telemetry data (e.g., "Amazon CloudWatch Logs", "S3").
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-telemetryrule-telemetrydestinationconfiguration.html#cfn-observabilityadmin-telemetryrule-telemetrydestinationconfiguration-destinationtype
//
DestinationType *string `field:"optional" json:"destinationType" yaml:"destinationType"`
// The number of days to retain the telemetry data in the destination.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-telemetryrule-telemetrydestinationconfiguration.html#cfn-observabilityadmin-telemetryrule-telemetrydestinationconfiguration-retentionindays
//
RetentionInDays *float64 `field:"optional" json:"retentionInDays" yaml:"retentionInDays"`
// Configuration parameters specific to VPC Flow Logs when VPC is the resource type.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-telemetryrule-telemetrydestinationconfiguration.html#cfn-observabilityadmin-telemetryrule-telemetrydestinationconfiguration-vpcflowlogparameters
//
VpcFlowLogParameters interface{} `field:"optional" json:"vpcFlowLogParameters" yaml:"vpcFlowLogParameters"`
}
Configuration specifying where and how telemetry data should be delivered for AWS resources.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
telemetryDestinationConfigurationProperty := &TelemetryDestinationConfigurationProperty{
DestinationPattern: jsii.String("destinationPattern"),
DestinationType: jsii.String("destinationType"),
RetentionInDays: jsii.Number(123),
VpcFlowLogParameters: &VPCFlowLogParametersProperty{
LogFormat: jsii.String("logFormat"),
MaxAggregationInterval: jsii.Number(123),
TrafficType: jsii.String("trafficType"),
},
}
type CfnTelemetryRule_TelemetryRuleProperty ¶
type CfnTelemetryRule_TelemetryRuleProperty struct {
// The type of AWS resource to configure telemetry for (e.g., "AWS::EC2::VPC").
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-telemetryrule-telemetryrule.html#cfn-observabilityadmin-telemetryrule-telemetryrule-resourcetype
//
ResourceType *string `field:"required" json:"resourceType" yaml:"resourceType"`
// The type of telemetry to collect (Logs, Metrics, or Traces).
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-telemetryrule-telemetryrule.html#cfn-observabilityadmin-telemetryrule-telemetryrule-telemetrytype
//
TelemetryType *string `field:"required" json:"telemetryType" yaml:"telemetryType"`
// Configuration specifying where and how the telemetry data should be delivered.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-telemetryrule-telemetryrule.html#cfn-observabilityadmin-telemetryrule-telemetryrule-destinationconfiguration
//
DestinationConfiguration interface{} `field:"optional" json:"destinationConfiguration" yaml:"destinationConfiguration"`
// Criteria for selecting which resources the rule applies to, such as resource tags.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-telemetryrule-telemetryrule.html#cfn-observabilityadmin-telemetryrule-telemetryrule-selectioncriteria
//
SelectionCriteria *string `field:"optional" json:"selectionCriteria" yaml:"selectionCriteria"`
}
Defines how telemetry should be configured for specific AWS resources.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
telemetryRuleProperty := &TelemetryRuleProperty{
ResourceType: jsii.String("resourceType"),
TelemetryType: jsii.String("telemetryType"),
// the properties below are optional
DestinationConfiguration: &TelemetryDestinationConfigurationProperty{
DestinationPattern: jsii.String("destinationPattern"),
DestinationType: jsii.String("destinationType"),
RetentionInDays: jsii.Number(123),
VpcFlowLogParameters: &VPCFlowLogParametersProperty{
LogFormat: jsii.String("logFormat"),
MaxAggregationInterval: jsii.Number(123),
TrafficType: jsii.String("trafficType"),
},
},
SelectionCriteria: jsii.String("selectionCriteria"),
}
type CfnTelemetryRule_VPCFlowLogParametersProperty ¶
type CfnTelemetryRule_VPCFlowLogParametersProperty struct {
// The format in which VPC Flow Log entries should be logged.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-telemetryrule-vpcflowlogparameters.html#cfn-observabilityadmin-telemetryrule-vpcflowlogparameters-logformat
//
LogFormat *string `field:"optional" json:"logFormat" yaml:"logFormat"`
// The maximum interval in seconds between the capture of flow log records.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-telemetryrule-vpcflowlogparameters.html#cfn-observabilityadmin-telemetryrule-vpcflowlogparameters-maxaggregationinterval
//
MaxAggregationInterval *float64 `field:"optional" json:"maxAggregationInterval" yaml:"maxAggregationInterval"`
// The type of traffic to log (ACCEPT, REJECT, or ALL).
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-observabilityadmin-telemetryrule-vpcflowlogparameters.html#cfn-observabilityadmin-telemetryrule-vpcflowlogparameters-traffictype
//
TrafficType *string `field:"optional" json:"trafficType" yaml:"trafficType"`
}
Configuration parameters specific to VPC Flow Logs.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
vPCFlowLogParametersProperty := &VPCFlowLogParametersProperty{
LogFormat: jsii.String("logFormat"),
MaxAggregationInterval: jsii.Number(123),
TrafficType: jsii.String("trafficType"),
}
Source Files
¶
- CfnOrganizationCentralizationRule.go
- CfnOrganizationCentralizationRuleProps.go
- CfnOrganizationCentralizationRule_CentralizationRuleDestinationProperty.go
- CfnOrganizationCentralizationRule_CentralizationRuleProperty.go
- CfnOrganizationCentralizationRule_CentralizationRuleSourceProperty.go
- CfnOrganizationCentralizationRule_DestinationLogsConfigurationProperty.go
- CfnOrganizationCentralizationRule_LogsBackupConfigurationProperty.go
- CfnOrganizationCentralizationRule_LogsEncryptionConfigurationProperty.go
- CfnOrganizationCentralizationRule_SourceLogsConfigurationProperty.go
- CfnOrganizationCentralizationRule__checks.go
- CfnOrganizationTelemetryRule.go
- CfnOrganizationTelemetryRuleProps.go
- CfnOrganizationTelemetryRule_TelemetryDestinationConfigurationProperty.go
- CfnOrganizationTelemetryRule_TelemetryRuleProperty.go
- CfnOrganizationTelemetryRule_VPCFlowLogParametersProperty.go
- CfnOrganizationTelemetryRule__checks.go
- CfnTelemetryRule.go
- CfnTelemetryRuleProps.go
- CfnTelemetryRule_TelemetryDestinationConfigurationProperty.go
- CfnTelemetryRule_TelemetryRuleProperty.go
- CfnTelemetryRule_VPCFlowLogParametersProperty.go
- CfnTelemetryRule__checks.go
- main.go