CfnDeliverySourceMixinProps
- class aws_cdk.mixins_preview.aws_logs.mixins.CfnDeliverySourceMixinProps(*, log_type=None, name=None, resource_arn=None, tags=None)
Bases:
objectProperties for CfnDeliverySourcePropsMixin.
- Parameters:
log_type (
Optional[str]) – The type of log that the source is sending. For valid values for this parameter, see the documentation for the source service.name (
Optional[str]) – The unique name of the delivery source.resource_arn (
Optional[str]) – The ARN of the AWS resource that is generating and sending logs. For example,arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – An array of key-value pairs to apply to the delivery source. For more information, see Tag .
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-deliverysource.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_delivery_source_mixin_props = logs_mixins.CfnDeliverySourceMixinProps( log_type="logType", name="name", resource_arn="resourceArn", tags=[CfnTag( key="key", value="value" )] )
Attributes
- log_type
The type of log that the source is sending.
For valid values for this parameter, see the documentation for the source service.
- name
The unique name of the delivery source.
- resource_arn
The ARN of the AWS resource that is generating and sending logs.
For example,
arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234