Class CfnGrantPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.licensemanager.CfnGrantPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGrantPropsMixin>
- Enclosing class:
CfnGrantPropsMixin
@Stability(Stable)
public static final class CfnGrantPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGrantPropsMixin>
A fluent builder for
CfnGrantPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionallowedOperations(List<String> allowedOperations) Allowed operations for the grant.build()static CfnGrantPropsMixin.Buildercreate()static CfnGrantPropsMixin.Buildercreate(CfnPropertyMixinOptions options) Grant name.homeRegion(String homeRegion) Home Region of the grant.licenseArn(String licenseArn) License ARN.principals(List<String> principals) The grant principals.Granted license status.A list of tags to attach.
-
Method Details
-
create
- Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnGrantPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnGrantPropsMixin.Builder.
-
allowedOperations
@Stability(Stable) public CfnGrantPropsMixin.Builder allowedOperations(List<String> 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:
-
tags
A list of tags to attach.- Parameters:
tags- A list of tags to attach. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGrantPropsMixin>- Returns:
- a newly built instance of
CfnGrantPropsMixin.
-