Interface CfnProfileProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnProfileProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:35.019Z") @Stability(Stable) public interface CfnProfileProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnProfile.

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.rolesanywhere.*;
 CfnProfileProps cfnProfileProps = CfnProfileProps.builder()
         .name("name")
         .roleArns(List.of("roleArns"))
         // the properties below are optional
         .durationSeconds(123)
         .enabled(false)
         .managedPolicyArns(List.of("managedPolicyArns"))
         .requireInstanceProperties(false)
         .sessionPolicy("sessionPolicy")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getName

      @Stability(Stable) @NotNull String getName()
      The customer specified name of the resource.
    • getRoleArns

      @Stability(Stable) @NotNull List<String> getRoleArns()
      A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
    • getDurationSeconds

      @Stability(Stable) @Nullable default Number getDurationSeconds()
      The number of seconds vended session credentials will be valid for.
    • getEnabled

      @Stability(Stable) @Nullable default Object getEnabled()
      The enabled status of the resource.
    • getManagedPolicyArns

      @Stability(Stable) @Nullable default List<String> getManagedPolicyArns()
      A list of managed policy ARNs.

      Managed policies identified by this list will be applied to the vended session credentials.

    • getRequireInstanceProperties

      @Stability(Stable) @Nullable default Object getRequireInstanceProperties()
      Specifies whether instance properties are required in CreateSession requests with this profile.
    • getSessionPolicy

      @Stability(Stable) @Nullable default String getSessionPolicy()
      A session policy that will applied to the trust boundary of the vended session credentials.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      A list of Tags.
    • builder

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