Interface CfnRoleAliasProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRoleAliasProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:40:07.601Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRoleAliasPropsstatic final classAn implementation forCfnRoleAliasProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnRoleAliasProps.Builderbuilder()default NumberThe number of seconds for which the credential is valid.default StringThe 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.BuilderofCfnRoleAliasProps
-