Class CfnStack
The AWS::AppStream::Stack
resource creates a stack to start streaming applications to Amazon AppStream 2.0 users. A stack consists of an associated fleet, user access policies, and storage configurations.
Inherited Members
Namespace: Amazon.CDK.AWS.AppStream
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnStack : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnStack
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stack.html
CloudformationResource: AWS::AppStream::Stack
ExampleMetadata: fixture=_generated
Examples
// 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 cfnStack = new CfnStack(this, "MyCfnStack", new CfnStackProps {
AccessEndpoints = new [] { new AccessEndpointProperty {
EndpointType = "endpointType",
VpceId = "vpceId"
} },
ApplicationSettings = new ApplicationSettingsProperty {
Enabled = false,
// the properties below are optional
SettingsGroup = "settingsGroup"
},
AttributesToDelete = new [] { "attributesToDelete" },
DeleteStorageConnectors = false,
Description = "description",
DisplayName = "displayName",
EmbedHostDomains = new [] { "embedHostDomains" },
FeedbackUrl = "feedbackUrl",
Name = "name",
RedirectUrl = "redirectUrl",
StorageConnectors = new [] { new StorageConnectorProperty {
ConnectorType = "connectorType",
// the properties below are optional
Domains = new [] { "domains" },
ResourceIdentifier = "resourceIdentifier"
} },
StreamingExperienceSettings = new StreamingExperienceSettingsProperty {
PreferredProtocol = "preferredProtocol"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
UserSettings = new [] { new UserSettingProperty {
Action = "action",
Permission = "permission",
// the properties below are optional
MaximumLength = 123
} }
});
Synopsis
Constructors
CfnStack(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnStack(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnStack(Construct, String, ICfnStackProps) |
Properties
AccessEndpoints | The list of virtual private cloud (VPC) interface endpoint objects. |
ApplicationSettings | The persistent application settings for users of the stack. |
AttributesToDelete | The stack attributes to delete. |
AttrId | |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
DeleteStorageConnectors | This parameter has been deprecated.. |
Description | The description to display. |
DisplayName | The stack name to display. |
EmbedHostDomains | The domains where AppStream 2.0 streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded AppStream 2.0 streaming sessions. |
FeedbackUrl | The URL that users are redirected to after they click the Send Feedback link. |
Name | The name of the stack. |
RedirectUrl | The URL that users are redirected to after their streaming session ends. |
StorageConnectors | The storage connectors to enable. |
StreamingExperienceSettings | The streaming protocol that you want your stack to prefer. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | An array of key-value pairs. |
UserSettings | The actions that are enabled or disabled for users during their streaming sessions. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnStack(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnStack(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnStack(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnStack(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnStack(Construct, String, ICfnStackProps)
public CfnStack(Construct scope, string id, ICfnStackProps props = null)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnStackProps
Resource properties.
Properties
AccessEndpoints
The list of virtual private cloud (VPC) interface endpoint objects.
public virtual object AccessEndpoints { get; set; }
Property Value
System.Object
ApplicationSettings
The persistent application settings for users of the stack.
public virtual object ApplicationSettings { get; set; }
Property Value
System.Object
AttributesToDelete
The stack attributes to delete.
public virtual string[] AttributesToDelete { get; set; }
Property Value
System.String[]
AttrId
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
DeleteStorageConnectors
This parameter has been deprecated..
public virtual object DeleteStorageConnectors { get; set; }
Property Value
System.Object
Description
The description to display.
public virtual string Description { get; set; }
Property Value
System.String
DisplayName
The stack name to display.
public virtual string DisplayName { get; set; }
Property Value
System.String
EmbedHostDomains
The domains where AppStream 2.0 streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded AppStream 2.0 streaming sessions.
public virtual string[] EmbedHostDomains { get; set; }
Property Value
System.String[]
FeedbackUrl
The URL that users are redirected to after they click the Send Feedback link.
public virtual string FeedbackUrl { get; set; }
Property Value
System.String
Name
The name of the stack.
public virtual string Name { get; set; }
Property Value
System.String
RedirectUrl
The URL that users are redirected to after their streaming session ends.
public virtual string RedirectUrl { get; set; }
Property Value
System.String
StorageConnectors
The storage connectors to enable.
public virtual object StorageConnectors { get; set; }
Property Value
System.Object
StreamingExperienceSettings
The streaming protocol that you want your stack to prefer.
public virtual object StreamingExperienceSettings { get; set; }
Property Value
System.Object
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
An array of key-value pairs.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
UserSettings
The actions that are enabled or disabled for users during their streaming sessions.
public virtual object UserSettings { get; set; }
Property Value
System.Object
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>