@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.874Z") @Stability(value=Stable) public interface CfnRoleAliasProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iot.*;
CfnRoleAliasProps cfnRoleAliasProps = CfnRoleAliasProps.builder()
.roleArn("roleArn")
// the properties below are optional
.credentialDurationSeconds(123)
.roleAlias("roleAlias")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRoleAliasProps.Builder
A builder for
CfnRoleAliasProps |
static class |
CfnRoleAliasProps.Jsii$Proxy
An implementation for
CfnRoleAliasProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnRoleAliasProps.Builder |
builder() |
default Number |
getCredentialDurationSeconds()
The number of seconds for which the credential is valid.
|
default String |
getRoleAlias()
The role alias.
|
String |
getRoleArn()
The role ARN.
|
default List<CfnTag> |
getTags()
An array of key-value pairs to apply to this resource.
|
@Stability(value=Stable) @NotNull String getRoleArn()
@Stability(value=Stable) @Nullable default Number getCredentialDurationSeconds()
@Stability(value=Stable) @Nullable default String getRoleAlias()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
For more information, see Tag .
@Stability(value=Stable) static CfnRoleAliasProps.Builder builder()
CfnRoleAliasProps.Builder of CfnRoleAliasPropsCopyright © 2022. All rights reserved.