Interface CfnRoleAliasProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRoleAliasProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:57.596Z")
@Stability(Stable)
public interface CfnRoleAliasProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnRoleAlias
.
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnRoleAliasProps
static final class
An implementation forCfnRoleAliasProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnRoleAliasProps.Builder
builder()
default Number
The number of seconds for which the credential is valid.default String
The role alias.The role ARN.getTags()
An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRoleArn
The role ARN. -
getCredentialDurationSeconds
The number of seconds for which the credential is valid. -
getRoleAlias
The role alias. -
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
-
builder
- Returns:
- a
CfnRoleAliasProps.Builder
ofCfnRoleAliasProps
-