CfnConnectorProps

class aws_cdk.aws_mgn.CfnConnectorProps(*, name, ssm_instance_id, ssm_command_config=None, tags=None)

Bases: object

Properties for defining a CfnConnector.

Parameters:
  • name (str) – The name of the connector.

  • ssm_instance_id (str) – The SSM instance ID associated with this connector.

  • ssm_command_config (Union[IResolvable, ConnectorSsmCommandConfigProperty, Dict[str, Any], None]) – SSM command configuration for the connector.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – Tags to assign to the connector.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mgn-connector.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 import aws_mgn as mgn

cfn_connector_props = mgn.CfnConnectorProps(
    name="name",
    ssm_instance_id="ssmInstanceId",

    # the properties below are optional
    ssm_command_config=mgn.CfnConnector.ConnectorSsmCommandConfigProperty(
        cloud_watch_output_enabled=False,
        s3_output_enabled=False,

        # the properties below are optional
        cloud_watch_log_group_name="cloudWatchLogGroupName",
        output_s3_bucket_name="outputS3BucketName"
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

name

The name of the connector.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mgn-connector.html#cfn-mgn-connector-name

ssm_command_config

SSM command configuration for the connector.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mgn-connector.html#cfn-mgn-connector-ssmcommandconfig

ssm_instance_id

The SSM instance ID associated with this connector.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mgn-connector.html#cfn-mgn-connector-ssminstanceid

tags

Tags to assign to the connector.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mgn-connector.html#cfn-mgn-connector-tags