Class CfnRoleAlias.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnRoleAlias.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRoleAlias>
- Enclosing class:
- CfnRoleAlias
@Stability(Stable)
public static final class CfnRoleAlias.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRoleAlias>
A fluent builder for
CfnRoleAlias
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnRoleAlias.Builder
credentialDurationSeconds
(Number credentialDurationSeconds) The number of seconds for which the credential is valid.The role alias.The role ARN.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnRoleAlias.Builder
.
-
roleArn
The role ARN.- Parameters:
roleArn
- The role ARN. This parameter is required.- Returns:
this
-
credentialDurationSeconds
@Stability(Stable) public CfnRoleAlias.Builder credentialDurationSeconds(Number credentialDurationSeconds) The number of seconds for which the credential is valid.- Parameters:
credentialDurationSeconds
- The number of seconds for which the credential is valid. This parameter is required.- Returns:
this
-
roleAlias
The role alias.- Parameters:
roleAlias
- The role alias. This parameter is required.- Returns:
this
-
tags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- Parameters:
tags
- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRoleAlias>
- Returns:
- a newly built instance of
CfnRoleAlias
.
-