java.lang.Object
java.lang.Enum<SharePermission>
software.amazon.awscdk.services.servicecatalogappregistry.alpha.SharePermission
All Implemented Interfaces:
Serializable, Comparable<SharePermission>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-06T23:25:19.233Z") @Stability(Experimental) public enum SharePermission extends Enum<SharePermission>
(experimental) Supported permissions for sharing applications or attribute groups with principals using AWS RAM.

Example:

 import software.amazon.awscdk.services.iam.*;
 Application application;
 application.shareApplication("MyShareId", ShareOptions.builder()
         .name("MyShare")
         .accounts(List.of("123456789012", "234567890123"))
         .sharePermission(SharePermission.ALLOW_ACCESS)
         .build());
 
  • Enum Constant Details

    • READ_ONLY

      @Stability(Experimental) public static final SharePermission READ_ONLY
      (experimental) Allows principals in the share to only view the application or attribute group.
    • ALLOW_ACCESS

      @Stability(Experimental) public static final SharePermission ALLOW_ACCESS
      (experimental) Allows principals in the share to associate resources and attribute groups with applications.
  • Method Details

    • values

      public static SharePermission[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static SharePermission valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null