Class CfnAppBlockBuilder

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-27T16:50:53.082Z") @Stability(Stable) public class CfnAppBlockBuilder extends CfnResource implements IInspectable, ITaggableV2
Creates an app block builder.

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.*;
 CfnAppBlockBuilder cfnAppBlockBuilder = CfnAppBlockBuilder.Builder.create(this, "MyCfnAppBlockBuilder")
         .instanceType("instanceType")
         .name("name")
         .platform("platform")
         .vpcConfig(VpcConfigProperty.builder()
                 .securityGroupIds(List.of("securityGroupIds"))
                 .subnetIds(List.of("subnetIds"))
                 .build())
         // the properties below are optional
         .accessEndpoints(List.of(AccessEndpointProperty.builder()
                 .endpointType("endpointType")
                 .vpceId("vpceId")
                 .build()))
         .appBlockArns(List.of("appBlockArns"))
         .description("description")
         .displayName("displayName")
         .enableDefaultInternetAccess(false)
         .iamRoleArn("iamRoleArn")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnAppBlockBuilder

      protected CfnAppBlockBuilder(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnAppBlockBuilder

      protected CfnAppBlockBuilder(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnAppBlockBuilder

      @Stability(Stable) public CfnAppBlockBuilder(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnAppBlockBuilderProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The ARN of the app block builder.
    • getAttrCreatedTime

      @Stability(Stable) @NotNull public String getAttrCreatedTime()
      The time when the app block builder was created.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getInstanceType

      @Stability(Stable) @NotNull public String getInstanceType()
      The instance type of the app block builder.
    • setInstanceType

      @Stability(Stable) public void setInstanceType(@NotNull String value)
      The instance type of the app block builder.
    • getName

      @Stability(Stable) @NotNull public String getName()
      The name of the app block builder.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      The name of the app block builder.
    • getPlatform

      @Stability(Stable) @NotNull public String getPlatform()
      The platform of the app block builder.
    • setPlatform

      @Stability(Stable) public void setPlatform(@NotNull String value)
      The platform of the app block builder.
    • getVpcConfig

      @Stability(Stable) @NotNull public Object getVpcConfig()
      The VPC configuration for the app block builder.
    • setVpcConfig

      @Stability(Stable) public void setVpcConfig(@NotNull IResolvable value)
      The VPC configuration for the app block builder.
    • setVpcConfig

      @Stability(Stable) public void setVpcConfig(@NotNull CfnAppBlockBuilder.VpcConfigProperty value)
      The VPC configuration for the app block builder.
    • getAccessEndpoints

      @Stability(Stable) @Nullable public Object getAccessEndpoints()
      The access endpoints of the app block builder.
    • setAccessEndpoints

      @Stability(Stable) public void setAccessEndpoints(@Nullable IResolvable value)
      The access endpoints of the app block builder.
    • setAccessEndpoints

      @Stability(Stable) public void setAccessEndpoints(@Nullable List<Object> value)
      The access endpoints of the app block builder.
    • getAppBlockArns

      @Stability(Stable) @Nullable public List<String> getAppBlockArns()
      The ARN of the app block.
    • setAppBlockArns

      @Stability(Stable) public void setAppBlockArns(@Nullable List<String> value)
      The ARN of the app block.
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      The description of the app block builder.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      The description of the app block builder.
    • getDisplayName

      @Stability(Stable) @Nullable public String getDisplayName()
      The display name of the app block builder.
    • setDisplayName

      @Stability(Stable) public void setDisplayName(@Nullable String value)
      The display name of the app block builder.
    • getEnableDefaultInternetAccess

      @Stability(Stable) @Nullable public Object getEnableDefaultInternetAccess()
      Indicates whether default internet access is enabled for the app block builder.
    • setEnableDefaultInternetAccess

      @Stability(Stable) public void setEnableDefaultInternetAccess(@Nullable Boolean value)
      Indicates whether default internet access is enabled for the app block builder.
    • setEnableDefaultInternetAccess

      @Stability(Stable) public void setEnableDefaultInternetAccess(@Nullable IResolvable value)
      Indicates whether default internet access is enabled for the app block builder.
    • getIamRoleArn

      @Stability(Stable) @Nullable public String getIamRoleArn()
      The ARN of the IAM role that is applied to the app block builder.
    • setIamRoleArn

      @Stability(Stable) public void setIamRoleArn(@Nullable String value)
      The ARN of the IAM role that is applied to the app block builder.
    • getTags

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

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      The tags of the app block builder.