Interface CfnConnectorProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnConnectorProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:04:56.183Z")
@Stability(Stable)
public interface CfnConnectorProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnConnector.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.mgn.*;
CfnConnectorProps cfnConnectorProps = CfnConnectorProps.builder()
.name("name")
.ssmInstanceId("ssmInstanceId")
// the properties below are optional
.ssmCommandConfig(ConnectorSsmCommandConfigProperty.builder()
.cloudWatchOutputEnabled(false)
.s3OutputEnabled(false)
// the properties below are optional
.cloudWatchLogGroupName("cloudWatchLogGroupName")
.outputS3BucketName("outputS3BucketName")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnConnectorPropsstatic final classAn implementation forCfnConnectorProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnConnectorProps.Builderbuilder()getName()The name of the connector.default ObjectSSM command configuration for the connector.The SSM instance ID associated with this connector.getTags()Tags to assign to the connector.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the connector.- See Also:
-
getSsmInstanceId
The SSM instance ID associated with this connector.- See Also:
-
getSsmCommandConfig
SSM command configuration for the connector.Returns union: either
IResolvableorCfnConnector.ConnectorSsmCommandConfigProperty- See Also:
-
getTags
Tags to assign to the connector.- See Also:
-
builder
- Returns:
- a
CfnConnectorProps.BuilderofCfnConnectorProps
-