Interface CfnPermissionAssociationMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPermissionAssociationMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-10-08T17:00:19.841Z")
@Stability(Stable)
public interface CfnPermissionAssociationMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnPermissionAssociationPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.ram.*;
CfnPermissionAssociationMixinProps cfnPermissionAssociationMixinProps = CfnPermissionAssociationMixinProps.builder()
.permissionArn("permissionArn")
.replace(false)
.resourceShareArn("resourceShareArn")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPermissionAssociationMixinPropsstatic final classAn implementation forCfnPermissionAssociationMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringSpecifies the Amazon Resource Name (ARN) of the AWS RAM permission to associate with the resource share.default ObjectSpecifies whether to replace the existing permission on the resource share.default StringSpecifies the Amazon Resource Name (ARN) of the resource share.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPermissionArn
Specifies the Amazon Resource Name (ARN) of the AWS RAM permission to associate with the resource share.- See Also:
-
getReplace
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.Returns union: either
BooleanorIResolvableDefault: - false
- See Also:
-
builder
-