Class CfnAppBlockPropsMixin
This resource creates an app block.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.AppStream.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnAppBlockPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnAppBlockPropsMixin Inherits Mixin Implements IMixin
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
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.AppStream.Mixins;
var cfnAppBlockPropsMixin = new CfnAppBlockPropsMixin(new CfnAppBlockMixinProps {
Description = "description",
DisplayName = "displayName",
Name = "name",
PackagingType = "packagingType",
PostSetupScriptDetails = new ScriptDetailsProperty {
ExecutableParameters = "executableParameters",
ExecutablePath = "executablePath",
ScriptS3Location = new S3LocationProperty {
S3Bucket = "s3Bucket",
S3Key = "s3Key"
},
TimeoutInSeconds = 123
},
SetupScriptDetails = new ScriptDetailsProperty {
ExecutableParameters = "executableParameters",
ExecutablePath = "executablePath",
ScriptS3Location = new S3LocationProperty {
S3Bucket = "s3Bucket",
S3Key = "s3Key"
},
TimeoutInSeconds = 123
},
SourceS3Location = new S3LocationProperty {
S3Bucket = "s3Bucket",
S3Key = "s3Key"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Synopsis
Constructors
| CfnAppBlockPropsMixin(ICfnAppBlockMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | This resource creates an app block. |
| Props | This resource creates an app block. |
| Strategy | This resource creates an app block. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnAppBlockPropsMixin(ICfnAppBlockMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::AppStream::AppBlock.
public CfnAppBlockPropsMixin(ICfnAppBlockMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnAppBlockMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
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
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
This resource creates an app block.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
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
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.AppStream.Mixins;
var cfnAppBlockPropsMixin = new CfnAppBlockPropsMixin(new CfnAppBlockMixinProps {
Description = "description",
DisplayName = "displayName",
Name = "name",
PackagingType = "packagingType",
PostSetupScriptDetails = new ScriptDetailsProperty {
ExecutableParameters = "executableParameters",
ExecutablePath = "executablePath",
ScriptS3Location = new S3LocationProperty {
S3Bucket = "s3Bucket",
S3Key = "s3Key"
},
TimeoutInSeconds = 123
},
SetupScriptDetails = new ScriptDetailsProperty {
ExecutableParameters = "executableParameters",
ExecutablePath = "executablePath",
ScriptS3Location = new S3LocationProperty {
S3Bucket = "s3Bucket",
S3Key = "s3Key"
},
TimeoutInSeconds = 123
},
SourceS3Location = new S3LocationProperty {
S3Bucket = "s3Bucket",
S3Key = "s3Key"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Props
This resource creates an app block.
protected virtual ICfnAppBlockMixinProps Props { get; }
Property Value
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
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.AppStream.Mixins;
var cfnAppBlockPropsMixin = new CfnAppBlockPropsMixin(new CfnAppBlockMixinProps {
Description = "description",
DisplayName = "displayName",
Name = "name",
PackagingType = "packagingType",
PostSetupScriptDetails = new ScriptDetailsProperty {
ExecutableParameters = "executableParameters",
ExecutablePath = "executablePath",
ScriptS3Location = new S3LocationProperty {
S3Bucket = "s3Bucket",
S3Key = "s3Key"
},
TimeoutInSeconds = 123
},
SetupScriptDetails = new ScriptDetailsProperty {
ExecutableParameters = "executableParameters",
ExecutablePath = "executablePath",
ScriptS3Location = new S3LocationProperty {
S3Bucket = "s3Bucket",
S3Key = "s3Key"
},
TimeoutInSeconds = 123
},
SourceS3Location = new S3LocationProperty {
S3Bucket = "s3Bucket",
S3Key = "s3Key"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Strategy
This resource creates an app block.
protected virtual PropertyMergeStrategy Strategy { get; }
Property Value
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
Mixin: true
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.Mixins.Preview.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.AppStream.Mixins;
var cfnAppBlockPropsMixin = new CfnAppBlockPropsMixin(new CfnAppBlockMixinProps {
Description = "description",
DisplayName = "displayName",
Name = "name",
PackagingType = "packagingType",
PostSetupScriptDetails = new ScriptDetailsProperty {
ExecutableParameters = "executableParameters",
ExecutablePath = "executablePath",
ScriptS3Location = new S3LocationProperty {
S3Bucket = "s3Bucket",
S3Key = "s3Key"
},
TimeoutInSeconds = 123
},
SetupScriptDetails = new ScriptDetailsProperty {
ExecutableParameters = "executableParameters",
ExecutablePath = "executablePath",
ScriptS3Location = new S3LocationProperty {
S3Bucket = "s3Bucket",
S3Key = "s3Key"
},
TimeoutInSeconds = 123
},
SourceS3Location = new S3LocationProperty {
S3Bucket = "s3Bucket",
S3Key = "s3Key"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override IConstruct ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Returns
IConstruct
Overrides
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
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
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
Mixin: true
ExampleMetadata: fixture=_generated