Class CfnPermissionAssociationPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ram.CfnPermissionAssociationPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPermissionAssociationPropsMixin>
- Enclosing class:
CfnPermissionAssociationPropsMixin
@Stability(Stable)
public static final class CfnPermissionAssociationPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPermissionAssociationPropsMixin>
A fluent builder for
CfnPermissionAssociationPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) permissionArn(String permissionArn) Specifies the Amazon Resource Name (ARN) of the AWS RAM permission to associate with the resource share.Specifies whether to replace the existing permission on the resource share.replace(IResolvable replace) Specifies whether to replace the existing permission on the resource share.resourceShareArn(String resourceShareArn) Specifies the Amazon Resource Name (ARN) of the resource share.
-
Method Details
-
create
@Stability(Stable) public static CfnPermissionAssociationPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnPermissionAssociationPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnPermissionAssociationPropsMixin.Builder.
-
permissionArn
@Stability(Stable) public CfnPermissionAssociationPropsMixin.Builder permissionArn(String permissionArn) Specifies the Amazon Resource Name (ARN) of the AWS RAM permission to associate with the resource share.- Parameters:
permissionArn- Specifies the Amazon Resource Name (ARN) of the AWS RAM permission to associate with the resource share. This parameter is required.- Returns:
this- See Also:
-
replace
Specifies whether to replace the existing permission on the resource share.Use
trueto replace the current permission. Usefalseto add the permission when no permission is currently associated. The default value isfalse. Updating an existing association also requirestrue, because AWS RAM applies the change by re-associating the permission.Default: - false
- Parameters:
replace- Specifies whether to replace the existing permission on the resource share. This parameter is required.- Returns:
this- See Also:
-
replace
Specifies whether to replace the existing permission on the resource share.Use
trueto replace the current permission. Usefalseto add the permission when no permission is currently associated. The default value isfalse. Updating an existing association also requirestrue, because AWS RAM applies the change by re-associating the permission.Default: - false
- Parameters:
replace- Specifies whether to replace the existing permission on the resource share. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPermissionAssociationPropsMixin>- Returns:
- a newly built instance of
CfnPermissionAssociationPropsMixin.
-