CfnAppBlockProps Struct
Properties for defining a CfnAppBlock.
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 cfnAppBlockProps: appstream.CfnAppBlockProps = {
name: 'name',
sourceS3Location: {
s3Bucket: 's3Bucket',
// the properties below are optional
s3Key: 's3Key',
},
// the properties below are optional
description: 'description',
displayName: 'displayName',
packagingType: 'packagingType',
postSetupScriptDetails: {
executablePath: 'executablePath',
scriptS3Location: {
s3Bucket: 's3Bucket',
// the properties below are optional
s3Key: 's3Key',
},
timeoutInSeconds: 123,
// the properties below are optional
executableParameters: 'executableParameters',
},
setupScriptDetails: {
executablePath: 'executablePath',
scriptS3Location: {
s3Bucket: 's3Bucket',
// the properties below are optional
s3Key: 's3Key',
},
timeoutInSeconds: 123,
// the properties below are optional
executableParameters: 'executableParameters',
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
The description of the app block.
The display name of the app block.
The name of the app block.
Pattern : ^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,100}$
The packaging type of the app block.
postSetupScriptDetailsIResolvable | CfnAppBlock.ScriptDetailsPropertypost_setup_script_detailstyping.Union[IResolvable, ScriptDetailsProperty]postSetupScriptDetailsIResolvablePostSetupScriptDetailsIResolvablePostSetupScriptDetailsinterface{}#The post setup script details of the app block.
setupScriptDetailsIResolvable | CfnAppBlock.ScriptDetailsPropertysetup_script_detailstyping.Union[IResolvable, ScriptDetailsProperty]setupScriptDetailsIResolvableSetupScriptDetailsIResolvableSetupScriptDetailsinterface{}#The setup script details of the app block.
sourceS3LocationIResolvable | CfnAppBlock.S3LocationPropertysource_s3_locationtyping.Union[IResolvable, S3LocationProperty]sourceS3LocationIResolvableSourceS3LocationIResolvableSourceS3Locationinterface{}required#The source S3 location of the app block.