Enum SharePermission
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());
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription(experimental) Allows principals in the share to associate resources and attribute groups with applications.(experimental) Allows principals in the share to only view the application or attribute group. -
Method Summary
Modifier and TypeMethodDescriptionstatic SharePermission
Returns the enum constant of this type with the specified name.static SharePermission[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
READ_ONLY
(experimental) Allows principals in the share to only view the application or attribute group. -
ALLOW_ACCESS
(experimental) Allows principals in the share to associate resources and attribute groups with applications.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-