Interface CfnAppBlockProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAppBlockProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:55.684Z")
@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") .setupScriptDetails(ScriptDetailsProperty.builder() .executablePath("executablePath") .scriptS3Location(S3LocationProperty.builder() .s3Bucket("s3Bucket") .s3Key("s3Key") .build()) .timeoutInSeconds(123) // the properties below are optional .executableParameters("executableParameters") .build()) .sourceS3Location(S3LocationProperty.builder() .s3Bucket("s3Bucket") .s3Key("s3Key") .build()) // the properties below are optional .description("description") .displayName("displayName") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
-
Nested Class Summary
Modifier 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.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}$
-
getSetupScriptDetails
The setup script details of the app block. -
getSourceS3Location
The source S3 location of the app block. -
getDescription
The description of the app block. -
getDisplayName
The display name of the app block. -
getTags
The tags of the app block. -
builder
- Returns:
- a
CfnAppBlockProps.Builder
ofCfnAppBlockProps
-