Interface CfnAppBlockProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAppBlockProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-08-23T05:56:11.297Z")
@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 class
A builder forCfnAppBlockProps
static final class
An implementation forCfnAppBlockProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnAppBlockProps.Builder
builder()
default String
The description of the app block.default String
The display name of the app block.getName()
The name of the app block.default String
The packaging type of the app block.default Object
The post setup script details of the app block.default Object
The 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.- 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.- See Also:
-
getSetupScriptDetails
The setup script details of the app block.- See Also:
-
getTags
The tags of the app block.- See Also:
-
builder
- Returns:
- a
CfnAppBlockProps.Builder
ofCfnAppBlockProps
-