Class CfnConnector.Builder
java.lang.Object
software.amazon.awscdk.services.mgn.CfnConnector.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnector>
- Enclosing class:
CfnConnector
@Stability(Stable)
public static final class CfnConnector.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnector>
A fluent builder for
CfnConnector.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnConnector.BuilderThe name of the connector.ssmCommandConfig(IResolvable ssmCommandConfig) SSM command configuration for the connector.ssmCommandConfig(CfnConnector.ConnectorSsmCommandConfigProperty ssmCommandConfig) SSM command configuration for the connector.ssmInstanceId(String ssmInstanceId) The SSM instance ID associated with this connector.Tags to assign to the connector.
-
Method Details
-
create
@Stability(Stable) public static CfnConnector.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnConnector.Builder.
-
name
The name of the connector.- Parameters:
name- The name of the connector. This parameter is required.- Returns:
this- See Also:
-
ssmInstanceId
The SSM instance ID associated with this connector.- Parameters:
ssmInstanceId- The SSM instance ID associated with this connector. This parameter is required.- Returns:
this- See Also:
-
ssmCommandConfig
SSM command configuration for the connector.- Parameters:
ssmCommandConfig- SSM command configuration for the connector. This parameter is required.- Returns:
this- See Also:
-
ssmCommandConfig
@Stability(Stable) public CfnConnector.Builder ssmCommandConfig(CfnConnector.ConnectorSsmCommandConfigProperty ssmCommandConfig) SSM command configuration for the connector.- Parameters:
ssmCommandConfig- SSM command configuration for the connector. This parameter is required.- Returns:
this- See Also:
-
tags
Tags to assign to the connector.- Parameters:
tags- Tags to assign to the connector. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnector>- Returns:
- a newly built instance of
CfnConnector.
-