Class CfnThingPrincipalAttachment.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnThingPrincipalAttachment.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnThingPrincipalAttachment>
- Enclosing class:
CfnThingPrincipalAttachment
@Stability(Stable)
public static final class CfnThingPrincipalAttachment.Builder
extends Object
implements software.amazon.jsii.Builder<CfnThingPrincipalAttachment>
A fluent builder for
CfnThingPrincipalAttachment
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
The principal, which can be a certificate ARN (as returned from theCreateCertificate
operation) or an Amazon Cognito ID.The name of the AWS IoT thing.
-
Method Details
-
create
@Stability(Stable) public static CfnThingPrincipalAttachment.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
CfnThingPrincipalAttachment.Builder
.
-
principal
The principal, which can be a certificate ARN (as returned from theCreateCertificate
operation) or an Amazon Cognito ID.- Parameters:
principal
- The principal, which can be a certificate ARN (as returned from theCreateCertificate
operation) or an Amazon Cognito ID. This parameter is required.- Returns:
this
- See Also:
-
thingName
The name of the AWS IoT thing.- Parameters:
thingName
- The name of the AWS IoT thing. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnThingPrincipalAttachment>
- Returns:
- a newly built instance of
CfnThingPrincipalAttachment
.
-