Class IamUserConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • name

        @Stability(Stable)
        public IamUserConfig.Builder name​(String name)
        Sets the value of IamUserConfig.getName()
        Parameters:
        name - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/iam_user#name IamUser#name}. This parameter is required.
        Returns:
        this
      • forceDestroy

        @Stability(Stable)
        public IamUserConfig.Builder forceDestroy​(Boolean forceDestroy)
        Parameters:
        forceDestroy - Delete user even if it has non-Terraform-managed IAM access keys, login profile or MFA devices. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/iam_user#force_destroy IamUser#force_destroy}
        Returns:
        this
      • forceDestroy

        @Stability(Stable)
        public IamUserConfig.Builder forceDestroy​(com.hashicorp.cdktf.IResolvable forceDestroy)
        Parameters:
        forceDestroy - Delete user even if it has non-Terraform-managed IAM access keys, login profile or MFA devices. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/iam_user#force_destroy IamUser#force_destroy}
        Returns:
        this
      • id

        @Stability(Stable)
        public IamUserConfig.Builder id​(String id)
        Sets the value of IamUserConfig.getId()
        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/iam_user#id IamUser#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.
        Returns:
        this
      • path

        @Stability(Stable)
        public IamUserConfig.Builder path​(String path)
        Sets the value of IamUserConfig.getPath()
        Parameters:
        path - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/iam_user#path IamUser#path}.
        Returns:
        this
      • permissionsBoundary

        @Stability(Stable)
        public IamUserConfig.Builder permissionsBoundary​(String permissionsBoundary)
        Parameters:
        permissionsBoundary - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/iam_user#permissions_boundary IamUser#permissions_boundary}.
        Returns:
        this
      • tags

        @Stability(Stable)
        public IamUserConfig.Builder tags​(Map<String,​String> tags)
        Sets the value of IamUserConfig.getTags()
        Parameters:
        tags - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/iam_user#tags IamUser#tags}.
        Returns:
        this
      • tagsAll

        @Stability(Stable)
        public IamUserConfig.Builder tagsAll​(Map<String,​String> tagsAll)
        Sets the value of IamUserConfig.getTagsAll()
        Parameters:
        tagsAll - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/iam_user#tags_all IamUser#tags_all}.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public IamUserConfig.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public IamUserConfig.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public IamUserConfig.Builder count​(Number count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public IamUserConfig.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public IamUserConfig.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Sets the value of TerraformMetaArguments.getDependsOn()
        Parameters:
        dependsOn - the value to be set.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public IamUserConfig.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Sets the value of TerraformMetaArguments.getForEach()
        Parameters:
        forEach - the value to be set.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public IamUserConfig.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Sets the value of TerraformMetaArguments.getLifecycle()
        Parameters:
        lifecycle - the value to be set.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public IamUserConfig.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Sets the value of TerraformMetaArguments.getProvider()
        Parameters:
        provider - the value to be set.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public IamUserConfig.Builder provisioners​(List<? extends Object> provisioners)
        Sets the value of TerraformMetaArguments.getProvisioners()
        Parameters:
        provisioners - the value to be set.
        Returns:
        this