CfnSpacePropsMixin
- class aws_cdk.cfn_property_mixins.aws_quicksight.CfnSpacePropsMixin(props, *, strategy=None)
Bases:
MixinResource Type definition for AWS::QuickSight::Space.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-space.html
- CloudformationResource:
AWS::QuickSight::Space
- 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.cfn_property_mixins import aws_quicksight as quicksight import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy cfn_space_props_mixin = quicksight.CfnSpacePropsMixin(quicksight.CfnSpaceMixinProps( aws_account_id="awsAccountId", description="description", name="name", permissions=[quicksight.CfnSpacePropsMixin.ResourcePermissionProperty( actions=["actions"], principal="principal" )], resources=[quicksight.CfnSpacePropsMixin.SpaceResourceProperty( resource_arn="resourceArn", resource_type="resourceType" )], space_id="spaceId", tags=[cdk.CfnTag( key="key", value="value" )] ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::QuickSight::Space.- Parameters:
props (
Union[CfnSpaceMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
None
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['awsAccountId', 'description', 'name', 'permissions', 'resources', 'spaceId', 'tags']
Static Methods
- classmethod is_mixin(x)
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.
ResourcePermissionProperty
- class CfnSpacePropsMixin.ResourcePermissionProperty(*, actions=None, principal=None)
Bases:
objectA permission granted to a principal on a QuickSight resource.
- Parameters:
actions (
Optional[Sequence[str]]) – The list of actions granted to the principal.principal (
Optional[str]) – The ARN of the principal (user or group) receiving the permission.
- See:
- 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.cfn_property_mixins import aws_quicksight as quicksight resource_permission_property = quicksight.CfnSpacePropsMixin.ResourcePermissionProperty( actions=["actions"], principal="principal" )
Attributes
- actions
The list of actions granted to the principal.
- principal
The ARN of the principal (user or group) receiving the permission.
SpaceResourceProperty
- class CfnSpacePropsMixin.SpaceResourceProperty(*, resource_arn=None, resource_type=None)
Bases:
objectA QuickSight resource attached to the space.
- Parameters:
resource_arn (
Optional[str]) – The ARN of the QuickSight resource.resource_type (
Optional[str]) – The type of QuickSight resource.
- See:
- 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.cfn_property_mixins import aws_quicksight as quicksight space_resource_property = quicksight.CfnSpacePropsMixin.SpaceResourceProperty( resource_arn="resourceArn", resource_type="resourceType" )
Attributes
- resource_arn
The ARN of the QuickSight resource.
- resource_type
The type of QuickSight resource.