CfnConnectorPropsMixin
- class aws_cdk.cfn_property_mixins.aws_mgn.CfnConnectorPropsMixin(props, *, strategy=None)
Bases:
MixinResource schema for AWS::MGN::Connector.
A Connector provides connectivity between a source environment and Application Migration Service (MGN) via AWS Systems Manager (SSM).
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mgn-connector.html
- CloudformationResource:
AWS::MGN::Connector
- Mixin:
true
- 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.cfn_property_mixins import aws_mgn as mgn import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy cfn_connector_props_mixin = mgn.CfnConnectorPropsMixin(mgn.CfnConnectorMixinProps( name="name", ssm_command_config=mgn.CfnConnectorPropsMixin.ConnectorSsmCommandConfigProperty( cloud_watch_log_group_name="cloudWatchLogGroupName", cloud_watch_output_enabled=False, output_s3_bucket_name="outputS3BucketName", s3_output_enabled=False ), ssm_instance_id="ssmInstanceId", tags=[cdk.CfnTag( key="key", value="value" )] ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::MGN::Connector.- Parameters:
props (
Union[CfnConnectorMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
None
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['name', 'ssmCommandConfig', 'ssmInstanceId', 'tags']
Static Methods
- classmethod is_mixin(x)
Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.
ConnectorSsmCommandConfigProperty
- class CfnConnectorPropsMixin.ConnectorSsmCommandConfigProperty(*, cloud_watch_log_group_name=None, cloud_watch_output_enabled=None, output_s3_bucket_name=None, s3_output_enabled=None)
Bases:
objectSSM command configuration for the connector.
- Parameters:
cloud_watch_log_group_name (
Optional[str]) – The CloudWatch Logs group name for SSM command output.cloud_watch_output_enabled (
Union[bool,IResolvable,None]) – Whether SSM command output is sent to CloudWatch Logs.output_s3_bucket_name (
Optional[str]) – The S3 bucket name for SSM command output.s3_output_enabled (
Union[bool,IResolvable,None]) – Whether SSM command output is stored in S3.
- See:
- 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.cfn_property_mixins import aws_mgn as mgn connector_ssm_command_config_property = mgn.CfnConnectorPropsMixin.ConnectorSsmCommandConfigProperty( cloud_watch_log_group_name="cloudWatchLogGroupName", cloud_watch_output_enabled=False, output_s3_bucket_name="outputS3BucketName", s3_output_enabled=False )
Attributes
- cloud_watch_log_group_name
The CloudWatch Logs group name for SSM command output.
- cloud_watch_output_enabled
Whether SSM command output is sent to CloudWatch Logs.
- output_s3_bucket_name
The S3 bucket name for SSM command output.
- s3_output_enabled
Whether SSM command output is stored in S3.