Interface CfnGrantProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGrantProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.126.0 (build 206d44b)",
date="2026-02-19T19:23:42.851Z")
@Stability(Stable)
public interface CfnGrantProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnGrant.
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.licensemanager.*;
CfnGrantProps cfnGrantProps = CfnGrantProps.builder()
.allowedOperations(List.of("allowedOperations"))
.grantName("grantName")
.homeRegion("homeRegion")
.licenseArn("licenseArn")
.principals(List.of("principals"))
.status("status")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGrantPropsstatic final classAn implementation forCfnGrantProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnGrantProps.Builderbuilder()Allowed operations for the grant.default StringGrant name.default StringHome Region of the grant.default StringLicense ARN.The grant principals.default StringGranted license status.getTags()A list of tags to attach.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAllowedOperations
Allowed operations for the grant.- See Also:
-
getGrantName
Grant name.- See Also:
-
getHomeRegion
Home Region of the grant.- See Also:
-
getLicenseArn
License ARN.- See Also:
-
getPrincipals
The grant principals. You can specify one of the following as an Amazon Resource Name (ARN):.- An AWS account, which includes only the account specified.
- An organizational unit (OU), which includes all accounts in the OU.
- An organization, which will include all accounts across your organization.
- See Also:
-
getStatus
Granted license status.- See Also:
-
getTags
A list of tags to attach.- See Also:
-
builder
- Returns:
- a
CfnGrantProps.BuilderofCfnGrantProps
-