Interface CfnPermissionAssociationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPermissionAssociationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-10-08T17:00:02.020Z")
@Stability(Stable)
public interface CfnPermissionAssociationProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnPermissionAssociation.
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.ram.*;
CfnPermissionAssociationProps cfnPermissionAssociationProps = CfnPermissionAssociationProps.builder()
.permissionArn("permissionArn")
.resourceShareArn("resourceShareArn")
// the properties below are optional
.replace(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPermissionAssociationPropsstatic final classAn implementation forCfnPermissionAssociationProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Specifies 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.Specifies 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
-