Skip to content
v2.273.0

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 ​

descriptionstringdescriptionstrdescriptionStringDescriptionstringDescription*string#
The description of the app block.
displayNamestringdisplay_namestrdisplayNameStringDisplayNamestringDisplayName*string#
The display name of the app block.
namestringnamestrnameStringNamestringName*stringrequired#
The name of the app block.

Pattern : ^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,100}$

packagingTypestringpackaging_typestrpackagingTypeStringPackagingTypestringPackagingType*string#
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.
tagsCfnTag[]tagstyping.List[CfnTag]tagsList<CfnTag>TagsCfnTag[]Tags*[]CfnTag#
The tags of the app block.

Used as props by ​