CfnDeliverySourceMixinProps
- class aws_cdk.cfn_property_mixins.aws_logs.CfnDeliverySourceMixinProps(*, delivery_source_configuration=None, log_type=None, name=None, resource_arn=None, tags=None)
Bases:
objectProperties for CfnDeliverySourcePropsMixin.
- Parameters:
delivery_source_configuration (
Union[IResolvable,Mapping[str,str],None]) – A map of key-value pairs to configure the delivery source. Both keys and values must be between 1 and 255 characters in length.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:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_logs as logs cfn_delivery_source_mixin_props = logs.CfnDeliverySourceMixinProps( delivery_source_configuration={ "delivery_source_configuration_key": "deliverySourceConfiguration" }, log_type="logType", name="name", resource_arn="resourceArn", tags=[CfnTag( key="key", value="value" )] )
Attributes
- delivery_source_configuration
A map of key-value pairs to configure the delivery source.
Both keys and values must be between 1 and 255 characters in length.
- 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