Interface CfnGrantProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGrantProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:59.683Z")
@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")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGrantPropsstatic final classAn implementation forCfnGrantProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAllowedOperations
Allowed operations for the grant. -
getGrantName
Grant name. -
getHomeRegion
Home Region of the grant. -
getLicenseArn
License ARN. -
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.
-
getStatus
Granted license status. -
builder
- Returns:
- a
CfnGrantProps.BuilderofCfnGrantProps
-