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();
 
  • Method Details

    • getName

      @Stability(Stable) @NotNull String getName()
      The name of the app block.

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

    • getSetupScriptDetails

      @Stability(Stable) @NotNull Object getSetupScriptDetails()
      The setup script details of the app block.
    • getSourceS3Location

      @Stability(Stable) @NotNull Object getSourceS3Location()
      The source S3 location of the app block.
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      The description of the app block.
    • getDisplayName

      @Stability(Stable) @Nullable default String getDisplayName()
      The display name of the app block.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      The tags of the app block.
    • builder

      @Stability(Stable) static CfnAppBlockProps.Builder builder()
      Returns:
      a CfnAppBlockProps.Builder of CfnAppBlockProps