Class CfnAppBlock
This resource creates an app block.
Inherited Members
Namespace: Amazon.CDK.AWS.AppStream
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAppBlock : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnAppBlock
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
App blocks store details about the virtual hard disk that contains the files for the application in an S3 bucket. It also stores the setup script with details about how to mount the virtual hard disk. App blocks are only supported for Elastic fleets.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-appblock.html
CloudformationResource: AWS::AppStream::AppBlock
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 cfnAppBlock = new CfnAppBlock(this, "MyCfnAppBlock", new CfnAppBlockProps {
Name = "name",
SourceS3Location = new S3LocationProperty {
S3Bucket = "s3Bucket",
// the properties below are optional
S3Key = "s3Key"
},
// the properties below are optional
Description = "description",
DisplayName = "displayName",
PackagingType = "packagingType",
PostSetupScriptDetails = new ScriptDetailsProperty {
ExecutablePath = "executablePath",
ScriptS3Location = new S3LocationProperty {
S3Bucket = "s3Bucket",
// the properties below are optional
S3Key = "s3Key"
},
TimeoutInSeconds = 123,
// the properties below are optional
ExecutableParameters = "executableParameters"
},
SetupScriptDetails = new ScriptDetailsProperty {
ExecutablePath = "executablePath",
ScriptS3Location = new S3LocationProperty {
S3Bucket = "s3Bucket",
// the properties below are optional
S3Key = "s3Key"
},
TimeoutInSeconds = 123,
// the properties below are optional
ExecutableParameters = "executableParameters"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnAppBlock(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnAppBlock(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnAppBlock(Construct, String, ICfnAppBlockProps) |
Properties
AttrArn | The ARN of the app block. |
AttrCreatedTime | The time when the app block was created. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Description | The description of the app block. |
DisplayName | The display name of the app block. |
Name | The name of the app block. |
PackagingType | The packaging type of the app block. |
PostSetupScriptDetails | The post setup script details of the app block. |
SetupScriptDetails | The setup script details of the app block. |
SourceS3Location | The source S3 location of the app block. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | The tags of the app block. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnAppBlock(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnAppBlock(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnAppBlock(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnAppBlock(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnAppBlock(Construct, String, ICfnAppBlockProps)
public CfnAppBlock(Construct scope, string id, ICfnAppBlockProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnAppBlockProps
Resource properties.
Properties
AttrArn
The ARN of the app block.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
AttrCreatedTime
The time when the app block was created.
public virtual string AttrCreatedTime { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CreatedTime
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
Description
The description of the app block.
public virtual string Description { get; set; }
Property Value
System.String
DisplayName
The display name of the app block.
public virtual string DisplayName { get; set; }
Property Value
System.String
Name
The name of the app block.
public virtual string Name { get; set; }
Property Value
System.String
PackagingType
The packaging type of the app block.
public virtual string PackagingType { get; set; }
Property Value
System.String
PostSetupScriptDetails
The post setup script details of the app block.
public virtual object PostSetupScriptDetails { get; set; }
Property Value
System.Object
SetupScriptDetails
The setup script details of the app block.
public virtual object SetupScriptDetails { get; set; }
Property Value
System.Object
SourceS3Location
The source S3 location of the app block.
public virtual object SourceS3Location { get; set; }
Property Value
System.Object
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
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>