Class AppsyncApiCache.Builder

    • Method Detail

      • create

        @Stability(Stable)
        public static AppsyncApiCache.Builder create​(software.constructs.Construct scope,
                                                     String id)
        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
        Returns:
        a new instance of AppsyncApiCache.Builder.
      • connection

        @Stability(Experimental)
        public AppsyncApiCache.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public AppsyncApiCache.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • count

        @Stability(Experimental)
        public AppsyncApiCache.Builder count​(Number count)
        Parameters:
        count - This parameter is required.
        Returns:
        this
      • count

        @Stability(Experimental)
        public AppsyncApiCache.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Parameters:
        count - This parameter is required.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public AppsyncApiCache.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Parameters:
        dependsOn - This parameter is required.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public AppsyncApiCache.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Parameters:
        forEach - This parameter is required.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public AppsyncApiCache.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Parameters:
        lifecycle - This parameter is required.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public AppsyncApiCache.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Parameters:
        provider - This parameter is required.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public AppsyncApiCache.Builder provisioners​(List<? extends Object> provisioners)
        Parameters:
        provisioners - This parameter is required.
        Returns:
        this
      • apiCachingBehavior

        @Stability(Stable)
        public AppsyncApiCache.Builder apiCachingBehavior​(String apiCachingBehavior)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_api_cache#api_caching_behavior AppsyncApiCache#api_caching_behavior}.

        Parameters:
        apiCachingBehavior - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_api_cache#api_caching_behavior AppsyncApiCache#api_caching_behavior}. This parameter is required.
        Returns:
        this
      • apiId

        @Stability(Stable)
        public AppsyncApiCache.Builder apiId​(String apiId)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_api_cache#api_id AppsyncApiCache#api_id}.

        Parameters:
        apiId - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_api_cache#api_id AppsyncApiCache#api_id}. This parameter is required.
        Returns:
        this
      • ttl

        @Stability(Stable)
        public AppsyncApiCache.Builder ttl​(Number ttl)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_api_cache#ttl AppsyncApiCache#ttl}.

        Parameters:
        ttl - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_api_cache#ttl AppsyncApiCache#ttl}. This parameter is required.
        Returns:
        this
      • type

        @Stability(Stable)
        public AppsyncApiCache.Builder type​(String type)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_api_cache#type AppsyncApiCache#type}.

        Parameters:
        type - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_api_cache#type AppsyncApiCache#type}. This parameter is required.
        Returns:
        this
      • atRestEncryptionEnabled

        @Stability(Stable)
        public AppsyncApiCache.Builder atRestEncryptionEnabled​(Boolean atRestEncryptionEnabled)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_api_cache#at_rest_encryption_enabled AppsyncApiCache#at_rest_encryption_enabled}.

        Parameters:
        atRestEncryptionEnabled - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_api_cache#at_rest_encryption_enabled AppsyncApiCache#at_rest_encryption_enabled}. This parameter is required.
        Returns:
        this
      • atRestEncryptionEnabled

        @Stability(Stable)
        public AppsyncApiCache.Builder atRestEncryptionEnabled​(com.hashicorp.cdktf.IResolvable atRestEncryptionEnabled)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_api_cache#at_rest_encryption_enabled AppsyncApiCache#at_rest_encryption_enabled}.

        Parameters:
        atRestEncryptionEnabled - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_api_cache#at_rest_encryption_enabled AppsyncApiCache#at_rest_encryption_enabled}. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public AppsyncApiCache.Builder id​(String id)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_api_cache#id AppsyncApiCache#id}.

        Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.

        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_api_cache#id AppsyncApiCache#id}. This parameter is required.
        Returns:
        this
      • transitEncryptionEnabled

        @Stability(Stable)
        public AppsyncApiCache.Builder transitEncryptionEnabled​(Boolean transitEncryptionEnabled)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_api_cache#transit_encryption_enabled AppsyncApiCache#transit_encryption_enabled}.

        Parameters:
        transitEncryptionEnabled - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_api_cache#transit_encryption_enabled AppsyncApiCache#transit_encryption_enabled}. This parameter is required.
        Returns:
        this
      • transitEncryptionEnabled

        @Stability(Stable)
        public AppsyncApiCache.Builder transitEncryptionEnabled​(com.hashicorp.cdktf.IResolvable transitEncryptionEnabled)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_api_cache#transit_encryption_enabled AppsyncApiCache#transit_encryption_enabled}.

        Parameters:
        transitEncryptionEnabled - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/appsync_api_cache#transit_encryption_enabled AppsyncApiCache#transit_encryption_enabled}. This parameter is required.
        Returns:
        this