Class AmiLaunchPermission.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.imagebuilder.alpha.AmiLaunchPermission.Jsii$Proxy
All Implemented Interfaces:
AmiLaunchPermission, software.amazon.jsii.JsiiSerializable
Enclosing interface:
AmiLaunchPermission

@Stability(Experimental) @Internal public static final class AmiLaunchPermission.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AmiLaunchPermission
An implementation for AmiLaunchPermission
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(AmiLaunchPermission.Builder builder)
      Constructor that initializes the object based on literal property values passed by the AmiLaunchPermission.Builder.
  • Method Details

    • getAccountIds

      public final List<String> getAccountIds()
      Description copied from interface: AmiLaunchPermission
      (experimental) The AWS account IDs to share the AMI with.

      Default: None

      Specified by:
      getAccountIds in interface AmiLaunchPermission
    • getIsPublicUserGroup

      public final Boolean getIsPublicUserGroup()
      Description copied from interface: AmiLaunchPermission
      (experimental) Whether to make the AMI public. Block public access for AMIs must be disabled to make the AMI public.

      WARNING: Making an AMI public exposes it to any AWS account globally. Ensure the AMI does not contain:

      • Sensitive data or credentials
      • Proprietary software or configurations
      • Internal network information or security settings

      For more information on blocking public access for AMIs, see: Understand block public access for AMIs

      Default: false

      Specified by:
      getIsPublicUserGroup in interface AmiLaunchPermission
    • getOrganizationalUnitArns

      public final List<String> getOrganizationalUnitArns()
      Description copied from interface: AmiLaunchPermission
      (experimental) The ARNs for the AWS Organizations organizational units to share the AMI with.

      Default: None

      Specified by:
      getOrganizationalUnitArns in interface AmiLaunchPermission
    • getOrganizationArns

      public final List<String> getOrganizationArns()
      Description copied from interface: AmiLaunchPermission
      (experimental) The ARNs for the AWS Organization that you want to share the AMI with.

      Default: None

      Specified by:
      getOrganizationArns in interface AmiLaunchPermission
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object