CfnDestinationMixinProps
- class aws_cdk.mixins_preview.aws_logs.mixins.CfnDestinationMixinProps(*, destination_name=None, destination_policy=None, role_arn=None, tags=None, target_arn=None)
Bases:
objectProperties for CfnDestinationPropsMixin.
- Parameters:
destination_name (
Optional[str]) – The name of the destination.destination_policy (
Optional[str]) – An IAM policy document that governs which AWS accounts can create subscription filters against this destination.role_arn (
Optional[str]) – The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – The tags that have been assigned to this delivery destination.target_arn (
Optional[str]) – The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-destination.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_logs import mixins as logs_mixins cfn_destination_mixin_props = logs_mixins.CfnDestinationMixinProps( destination_name="destinationName", destination_policy="destinationPolicy", role_arn="roleArn", tags=[CfnTag( key="key", value="value" )], target_arn="targetArn" )
Attributes
- destination_name
The name of the destination.
- destination_policy
An IAM policy document that governs which AWS accounts can create subscription filters against this destination.
- role_arn
The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource.
- tags
The tags that have been assigned to this delivery destination.
- target_arn
The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).