@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.871Z") @Stability(value=Stable) public interface CfnPolicyPrincipalAttachmentProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iot.*;
CfnPolicyPrincipalAttachmentProps cfnPolicyPrincipalAttachmentProps = CfnPolicyPrincipalAttachmentProps.builder()
.policyName("policyName")
.principal("principal")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnPolicyPrincipalAttachmentProps.Builder
A builder for
CfnPolicyPrincipalAttachmentProps |
static class |
CfnPolicyPrincipalAttachmentProps.Jsii$Proxy
An implementation for
CfnPolicyPrincipalAttachmentProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnPolicyPrincipalAttachmentProps.Builder |
builder() |
String |
getPolicyName()
The name of the AWS IoT policy.
|
String |
getPrincipal()
The principal, which can be a certificate ARN (as returned from the `CreateCertificate` operation) or an Amazon Cognito ID.
|
@Stability(value=Stable) @NotNull String getPolicyName()
@Stability(value=Stable) @NotNull String getPrincipal()
@Stability(value=Stable) static CfnPolicyPrincipalAttachmentProps.Builder builder()
Copyright © 2022. All rights reserved.