Class CfnSecurityKey.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnSecurityKey.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSecurityKey>
- Enclosing class:
CfnSecurityKey
@Stability(Stable)
public static final class CfnSecurityKey.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSecurityKey>
A fluent builder for
CfnSecurityKey
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnSecurityKey.Builder
instanceId
(String instanceId) The Amazon Resource Name (ARN) of the instance.A valid security key in PEM format.
-
Method Details
-
create
@Stability(Stable) public static CfnSecurityKey.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
CfnSecurityKey.Builder
.
-
instanceId
The Amazon Resource Name (ARN) of the instance.Minimum :
1
Maximum :
100
- Parameters:
instanceId
- The Amazon Resource Name (ARN) of the instance. This parameter is required.- Returns:
this
- See Also:
-
key
A valid security key in PEM format. For example:."-----BEGIN PUBLIC KEY-----\ [a lot of characters] ----END PUBLIC KEY-----"
Minimum :
1
Maximum :
1024
- Parameters:
key
- A valid security key in PEM format. For example:. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSecurityKey>
- Returns:
- a newly built instance of
CfnSecurityKey
.
-