CfnGrantPropsMixin
- class aws_cdk.mixins_preview.aws_licensemanager.mixins.CfnGrantPropsMixin(props, *, strategy=None)
Bases:
MixinSpecifies a grant.
A grant shares the use of license entitlements with specific AWS accounts . For more information, see Granted licenses in the License Manager User Guide .
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-licensemanager-grant.html
- CloudformationResource:
AWS::LicenseManager::Grant
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview import mixins from aws_cdk.mixins_preview.aws_licensemanager import mixins as licensemanager_mixins cfn_grant_props_mixin = licensemanager_mixins.CfnGrantPropsMixin(licensemanager_mixins.CfnGrantMixinProps( allowed_operations=["allowedOperations"], grant_name="grantName", home_region="homeRegion", license_arn="licenseArn", principals=["principals"], status="status" ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::LicenseManager::Grant.- Parameters:
props (
Union[CfnGrantMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['allowedOperations', 'grantName', 'homeRegion', 'licenseArn', 'principals', 'status']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental