Class CfnGrant.Builder
java.lang.Object
software.amazon.awscdk.services.licensemanager.CfnGrant.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGrant>
- Enclosing class:
CfnGrant
@Stability(Stable)
public static final class CfnGrant.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGrant>
A fluent builder for
CfnGrant.-
Method Summary
Modifier and TypeMethodDescriptionallowedOperations(List<String> allowedOperations) Allowed operations for the grant.build()static CfnGrant.BuilderGrant name.homeRegion(String homeRegion) Home Region of the grant.licenseArn(String licenseArn) License ARN.principals(List<String> principals) The grant principals.Granted license status.
-
Method Details
-
create
@Stability(Stable) public static CfnGrant.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnGrant.Builder.
-
allowedOperations
Allowed operations for the grant.- Parameters:
allowedOperations- Allowed operations for the grant. This parameter is required.- Returns:
this- See Also:
-
grantName
Grant name.- Parameters:
grantName- Grant name. This parameter is required.- Returns:
this- See Also:
-
homeRegion
Home Region of the grant.- Parameters:
homeRegion- Home Region of the grant. This parameter is required.- Returns:
this- See Also:
-
licenseArn
License ARN.- Parameters:
licenseArn- License ARN. This parameter is required.- Returns:
this- See Also:
-
principals
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.
- Parameters:
principals- The grant principals. You can specify one of the following as an Amazon Resource Name (ARN):. This parameter is required.- Returns:
this- See Also:
-
status
Granted license status.- Parameters:
status- Granted license status. This parameter is required.- Returns:
this- See Also:
-
build
-