CfnEntitlementProps Struct
Properties for defining a CfnEntitlement.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appstream as appstream } from 'aws-cdk-lib';
const cfnEntitlementProps: appstream.CfnEntitlementProps = {
appVisibility: 'appVisibility',
attributes: [{
name: 'name',
value: 'value',
}],
name: 'name',
stackName: 'stackName',
// the properties below are optional
description: 'description',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import 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"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appstream.*;
CfnEntitlementProps cfnEntitlementProps = CfnEntitlementProps.builder()
.appVisibility("appVisibility")
.attributes(List.of(AttributeProperty.builder()
.name("name")
.value("value")
.build()))
.name("name")
.stackName("stackName")
// the properties below are optional
.description("description")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppStream;
var cfnEntitlementProps = new CfnEntitlementProps {
AppVisibility = "appVisibility",
Attributes = new [] { new AttributeProperty {
Name = "name",
Value = "value"
} },
Name = "name",
StackName = "stackName",
// the properties below are optional
Description = "description"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnEntitlementProps := &CfnEntitlementProps{
AppVisibility: jsii.String("appVisibility"),
Attributes: []interface{}{
&AttributeProperty{
Name: jsii.String("name"),
Value: jsii.String("value"),
},
},
Name: jsii.String("name"),
StackName: jsii.String("stackName"),
// the properties below are optional
Description: jsii.String("description"),
}
Properties
appVisibilitystringapp_visibilitystrappVisibilityStringAppVisibilitystringAppVisibility*string required #Specifies whether to entitle all apps or only selected apps.
attributesIResolvable | IResolvable | CfnEntitlement.AttributeProperty[]attributestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, AttributeProperty]]]attributesIResolvableAttributesIResolvableAttributesinterface{} required #The attributes of the entitlement.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #The description of the entitlement.
The name of the entitlement.
The name of the stack.