Interface CfnPolicyPrincipalAttachmentProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPolicyPrincipalAttachmentProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.109.0 (build c221850)",
date="2025-03-14T03:24:59.678Z")
@Stability(Stable)
public interface CfnPolicyPrincipalAttachmentProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnPolicyPrincipalAttachment
.
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPolicyPrincipalAttachmentProps
static final class
An implementation forCfnPolicyPrincipalAttachmentProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The name of the AWS IoT policy.The principal, which can be a certificate ARN (as returned from theCreateCertificate
operation) or an Amazon Cognito ID.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPolicyName
The name of the AWS IoT policy.- See Also:
-
getPrincipal
The principal, which can be a certificate ARN (as returned from theCreateCertificate
operation) or an Amazon Cognito ID.- See Also:
-
builder
-