aws-cdk-lib.aws_appstream.CfnAppBlockProps

interface CfnAppBlockProps

LanguageType name
.NETAmazon.CDK.AWS.AppStream.CfnAppBlockProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappstream#CfnAppBlockProps
Javasoftware.amazon.awscdk.services.appstream.CfnAppBlockProps
Pythonaws_cdk.aws_appstream.CfnAppBlockProps
TypeScript aws-cdk-lib » aws_appstream » CfnAppBlockProps

Properties for defining a CfnAppBlock.

Example

// 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

NameTypeDescription
namestringThe name of the app block.
sourceS3LocationIResolvable | S3LocationPropertyThe source S3 location of the app block.
description?stringThe description of the app block.
displayName?stringThe display name of the app block.
packagingType?stringThe packaging type of the app block.
postSetupScriptDetails?IResolvable | ScriptDetailsPropertyThe post setup script details of the app block.
setupScriptDetails?IResolvable | ScriptDetailsPropertyThe setup script details of the app block.
tags?CfnTag[]The tags of the app block.

name

Type: string

The name of the app block.

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


sourceS3Location

Type: IResolvable | S3LocationProperty

The source S3 location of the app block.


description?

Type: string (optional)

The description of the app block.


displayName?

Type: string (optional)

The display name of the app block.


packagingType?

Type: string (optional)

The packaging type of the app block.


postSetupScriptDetails?

Type: IResolvable | ScriptDetailsProperty (optional)

The post setup script details of the app block.


setupScriptDetails?

Type: IResolvable | ScriptDetailsProperty (optional)

The setup script details of the app block.


tags?

Type: CfnTag[] (optional)

The tags of the app block.