Class IamWorkloadIdentityPool.Builder

    • Method Detail

      • create

        @Stability(Stable)
        public static IamWorkloadIdentityPool.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 IamWorkloadIdentityPool.Builder.
      • connection

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

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

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

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

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

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

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

        @Stability(Stable)
        public IamWorkloadIdentityPool.Builder workloadIdentityPoolId​(String workloadIdentityPoolId)
        The ID to use for the pool, which becomes the final component of the resource name.

        This value should be 4-32 characters, and may contain the characters [a-z0-9-]. The prefix 'gcp-' is reserved for use by Google, and may not be specified. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/iam_workload_identity_pool#workload_identity_pool_id IamWorkloadIdentityPool#workload_identity_pool_id}

        Parameters:
        workloadIdentityPoolId - The ID to use for the pool, which becomes the final component of the resource name. This parameter is required.
        Returns:
        this
      • description

        @Stability(Stable)
        public IamWorkloadIdentityPool.Builder description​(String description)
        A description of the pool. Cannot exceed 256 characters.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/iam_workload_identity_pool#description IamWorkloadIdentityPool#description}

        Parameters:
        description - A description of the pool. Cannot exceed 256 characters. This parameter is required.
        Returns:
        this
      • disabled

        @Stability(Stable)
        public IamWorkloadIdentityPool.Builder disabled​(Boolean disabled)
        Whether the pool is disabled.

        You cannot use a disabled pool to exchange tokens, or use existing tokens to access resources. If the pool is re-enabled, existing tokens grant access again. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/iam_workload_identity_pool#disabled IamWorkloadIdentityPool#disabled}

        Parameters:
        disabled - Whether the pool is disabled. This parameter is required.
        Returns:
        this
      • disabled

        @Stability(Stable)
        public IamWorkloadIdentityPool.Builder disabled​(com.hashicorp.cdktf.IResolvable disabled)
        Whether the pool is disabled.

        You cannot use a disabled pool to exchange tokens, or use existing tokens to access resources. If the pool is re-enabled, existing tokens grant access again. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/iam_workload_identity_pool#disabled IamWorkloadIdentityPool#disabled}

        Parameters:
        disabled - Whether the pool is disabled. This parameter is required.
        Returns:
        this
      • displayName

        @Stability(Stable)
        public IamWorkloadIdentityPool.Builder displayName​(String displayName)
        A display name for the pool. Cannot exceed 32 characters.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/iam_workload_identity_pool#display_name IamWorkloadIdentityPool#display_name}

        Parameters:
        displayName - A display name for the pool. Cannot exceed 32 characters. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public IamWorkloadIdentityPool.Builder id​(String id)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/iam_workload_identity_pool#id IamWorkloadIdentityPool#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/google/5.43.1/docs/resources/iam_workload_identity_pool#id IamWorkloadIdentityPool#id}. This parameter is required.
        Returns:
        this
      • project

        @Stability(Stable)
        public IamWorkloadIdentityPool.Builder project​(String project)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/iam_workload_identity_pool#project IamWorkloadIdentityPool#project}.

        Parameters:
        project - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/iam_workload_identity_pool#project IamWorkloadIdentityPool#project}. This parameter is required.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public IamWorkloadIdentityPool.Builder timeouts​(IamWorkloadIdentityPoolTimeouts timeouts)
        timeouts block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/iam_workload_identity_pool#timeouts IamWorkloadIdentityPool#timeouts}

        Parameters:
        timeouts - timeouts block. This parameter is required.
        Returns:
        this