Class CfnPublicKey.Builder
java.lang.Object
software.amazon.awscdk.services.ivs.CfnPublicKey.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPublicKey>
- Enclosing class:
CfnPublicKey
@Stability(Stable)
public static final class CfnPublicKey.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPublicKey>
A fluent builder for
CfnPublicKey.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnPublicKey.BuilderPublic key name.publicKeyMaterial(String publicKeyMaterial) The public portion of a customer-generated key pair.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnPublicKey.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
CfnPublicKey.Builder.
-
name
Public key name.The value does not need to be unique.
- Parameters:
name- Public key name. This parameter is required.- Returns:
this- See Also:
-
publicKeyMaterial
The public portion of a customer-generated key pair.Note that this field is required to create the AWS::IVS::PublicKey resource.
- Parameters:
publicKeyMaterial- The public portion of a customer-generated key pair. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPublicKey>- Returns:
- a newly built instance of
CfnPublicKey.
-