Interface CfnRoleAliasProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRoleAliasProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-14T13:31:11.175Z")
@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();
- See Also:
-
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.- See Also:
-
getCredentialDurationSeconds
The number of seconds for which the credential is valid.Default: - 3600
- See Also:
-
getRoleAlias
The role alias.- See Also:
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- See Also:
-
builder
- Returns:
- a
CfnRoleAliasProps.Builder
ofCfnRoleAliasProps
-