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();
 
  • Method Details

    • getRoleArn

      @Stability(Stable) @NotNull String getRoleArn()
      The role ARN.
    • getCredentialDurationSeconds

      @Stability(Stable) @Nullable default Number getCredentialDurationSeconds()
      The number of seconds for which the credential is valid.
    • getRoleAlias

      @Stability(Stable) @Nullable default String getRoleAlias()
      The role alias.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      An array of key-value pairs to apply to this resource.

      For more information, see Tag .

    • builder

      @Stability(Stable) static CfnRoleAliasProps.Builder builder()
      Returns:
      a CfnRoleAliasProps.Builder of CfnRoleAliasProps