CfnEntitlementProps

class aws_cdk.aws_appstream.CfnEntitlementProps(*, app_visibility, attributes, name, stack_name, description=None)

Bases: object

Properties for defining a CfnEntitlement.

Parameters
  • app_visibility (str) – Specifies whether to entitle all apps or only selected apps.

  • attributes (Union[IResolvable, Sequence[Union[IResolvable, AttributeProperty]]]) – The attributes of the entitlement.

  • name (str) – The name of the entitlement.

  • stack_name (str) – The name of the stack.

  • description (Optional[str]) – The description of the entitlement.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-entitlement.html

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_appstream as appstream

cfn_entitlement_props = appstream.CfnEntitlementProps(
    app_visibility="appVisibility",
    attributes=[appstream.CfnEntitlement.AttributeProperty(
        name="name",
        value="value"
    )],
    name="name",
    stack_name="stackName",

    # the properties below are optional
    description="description"
)

Attributes

app_visibility

Specifies whether to entitle all apps or only selected apps.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-entitlement.html#cfn-appstream-entitlement-appvisibility

Return type

str

attributes

The attributes of the entitlement.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-entitlement.html#cfn-appstream-entitlement-attributes

Return type

Union[IResolvable, List[Union[IResolvable, AttributeProperty]]]

description

The description of the entitlement.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-entitlement.html#cfn-appstream-entitlement-description

Return type

Optional[str]

name

The name of the entitlement.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-entitlement.html#cfn-appstream-entitlement-name

Return type

str

stack_name

The name of the stack.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-entitlement.html#cfn-appstream-entitlement-stackname

Return type

str