Interface CfnAppBlockProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAppBlockProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:28.746Z")
@Stability(Stable)
public interface CfnAppBlockProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.appstream.*;
CfnAppBlockProps cfnAppBlockProps = CfnAppBlockProps.builder()
.name("name")
.sourceS3Location(S3LocationProperty.builder()
.s3Bucket("s3Bucket")
// the properties below are optional
.s3Key("s3Key")
.build())
// the properties below are optional
.description("description")
.displayName("displayName")
.packagingType("packagingType")
.postSetupScriptDetails(ScriptDetailsProperty.builder()
.executablePath("executablePath")
.scriptS3Location(S3LocationProperty.builder()
.s3Bucket("s3Bucket")
// the properties below are optional
.s3Key("s3Key")
.build())
.timeoutInSeconds(123)
// the properties below are optional
.executableParameters("executableParameters")
.build())
.setupScriptDetails(ScriptDetailsProperty.builder()
.executablePath("executablePath")
.scriptS3Location(S3LocationProperty.builder()
.s3Bucket("s3Bucket")
// the properties below are optional
.s3Key("s3Key")
.build())
.timeoutInSeconds(123)
// the properties below are optional
.executableParameters("executableParameters")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAppBlockPropsstatic final classAn implementation forCfnAppBlockProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnAppBlockProps.Builderbuilder()default StringThe description of the app block.default StringThe display name of the app block.getName()The name of the app block.default StringThe packaging type of the app block.default ObjectThe post setup script details of the app block.default ObjectThe setup script details of the app block.The source S3 location of the app block.getTags()The tags of the app block.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the app block.Pattern :
^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,100}$- See Also:
-
getSourceS3Location
The source S3 location of the app block.Returns union: either
IResolvableorCfnAppBlock.S3LocationProperty- See Also:
-
getDescription
The description of the app block.- See Also:
-
getDisplayName
The display name of the app block.- See Also:
-
getPackagingType
The packaging type of the app block.- See Also:
-
getPostSetupScriptDetails
The post setup script details of the app block.Returns union: either
IResolvableorCfnAppBlock.ScriptDetailsProperty- See Also:
-
getSetupScriptDetails
The setup script details of the app block.Returns union: either
IResolvableorCfnAppBlock.ScriptDetailsProperty- See Also:
-
getTags
The tags of the app block.- See Also:
-
builder
- Returns:
- a
CfnAppBlockProps.BuilderofCfnAppBlockProps
-