Class CfnSession.Builder
java.lang.Object
software.amazon.awscdk.services.ssm.CfnSession.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSession>
- Enclosing class:
CfnSession
@Stability(Stable)
public static final class CfnSession.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSession>
A fluent builder for
CfnSession.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnSession.BuilderThe reason for connecting to the instance.The managed node to connect to for the session.
-
Method Details
-
create
@Stability(Stable) public static CfnSession.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
CfnSession.Builder.
-
reason
The reason for connecting to the instance.- Parameters:
reason- The reason for connecting to the instance. This parameter is required.- Returns:
this- See Also:
-
target
The managed node to connect to for the session.- Parameters:
target- The managed node to connect to for the session. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSession>- Returns:
- a newly built instance of
CfnSession.
-