Class CfnPrincipalAssociationPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ram.CfnPrincipalAssociationPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPrincipalAssociationPropsMixin>
- Enclosing class:
CfnPrincipalAssociationPropsMixin
@Stability(Stable)
public static final class CfnPrincipalAssociationPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPrincipalAssociationPropsMixin>
A fluent builder for
CfnPrincipalAssociationPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) Specifies the principal to associate with the resource share.resourceShareArn(String resourceShareArn) Specifies the Amazon Resource Name (ARN) of the resource share.
-
Method Details
-
create
@Stability(Stable) public static CfnPrincipalAssociationPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnPrincipalAssociationPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnPrincipalAssociationPropsMixin.Builder.
-
principal
Specifies the principal to associate with the resource share. The possible values are:.- An AWS account ID
- An Amazon Resource Name (ARN) of an organization in AWS Organizations
- An ARN of an organizational unit (OU) in AWS Organizations
- An ARN of an IAM role
- An ARN of an IAM user
- Parameters:
principal- Specifies the principal to associate with the resource share. The possible values are:. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPrincipalAssociationPropsMixin>- Returns:
- a newly built instance of
CfnPrincipalAssociationPropsMixin.
-