Class IamUserPolicyAttachment.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.iam_user_policy_attachment.IamUserPolicyAttachment.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<IamUserPolicyAttachment>
- Enclosing class:
- IamUserPolicyAttachment
@Stability(Stable) public static final class IamUserPolicyAttachment.Builder extends Object implements software.amazon.jsii.Builder<IamUserPolicyAttachment>
A fluent builder forIamUserPolicyAttachment.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IamUserPolicyAttachmentbuild()IamUserPolicyAttachment.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)IamUserPolicyAttachment.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)IamUserPolicyAttachment.Buildercount(com.hashicorp.cdktf.TerraformCount count)IamUserPolicyAttachment.Buildercount(Number count)static IamUserPolicyAttachment.Buildercreate(software.constructs.Construct scope, String id)IamUserPolicyAttachment.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)IamUserPolicyAttachment.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)IamUserPolicyAttachment.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/iam_user_policy_attachment#id IamUserPolicyAttachment#id}.IamUserPolicyAttachment.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)IamUserPolicyAttachment.BuilderpolicyArn(String policyArn)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/iam_user_policy_attachment#policy_arn IamUserPolicyAttachment#policy_arn}.IamUserPolicyAttachment.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)IamUserPolicyAttachment.Builderprovisioners(List<? extends Object> provisioners)IamUserPolicyAttachment.Builderuser(String user)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/iam_user_policy_attachment#user IamUserPolicyAttachment#user}.
-
-
-
Method Detail
-
create
@Stability(Stable) public static IamUserPolicyAttachment.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
IamUserPolicyAttachment.Builder.
-
connection
@Stability(Experimental) public IamUserPolicyAttachment.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public IamUserPolicyAttachment.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public IamUserPolicyAttachment.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public IamUserPolicyAttachment.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public IamUserPolicyAttachment.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public IamUserPolicyAttachment.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public IamUserPolicyAttachment.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public IamUserPolicyAttachment.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public IamUserPolicyAttachment.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
policyArn
@Stability(Stable) public IamUserPolicyAttachment.Builder policyArn(String policyArn)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/iam_user_policy_attachment#policy_arn IamUserPolicyAttachment#policy_arn}.- Parameters:
policyArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/iam_user_policy_attachment#policy_arn IamUserPolicyAttachment#policy_arn}. This parameter is required.- Returns:
this
-
user
@Stability(Stable) public IamUserPolicyAttachment.Builder user(String user)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/iam_user_policy_attachment#user IamUserPolicyAttachment#user}.- Parameters:
user- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/iam_user_policy_attachment#user IamUserPolicyAttachment#user}. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public IamUserPolicyAttachment.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/iam_user_policy_attachment#id IamUserPolicyAttachment#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/iam_user_policy_attachment#id IamUserPolicyAttachment#id}. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public IamUserPolicyAttachment build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IamUserPolicyAttachment>- Returns:
- a newly built instance of
IamUserPolicyAttachment.
-
-