Class CfnResourceShareProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class CfnResourceShareProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnResourceShareProps
An implementation for CfnResourceShareProps
  • 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(CfnResourceShareProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnResourceShareProps.Builder.
  • Method Details

    • getName

      public final String getName()
      Description copied from interface: CfnResourceShareProps
      Specifies the name of the resource share.
      Specified by:
      getName in interface CfnResourceShareProps
    • getAllowExternalPrincipals

      public final Object getAllowExternalPrincipals()
      Description copied from interface: CfnResourceShareProps
      Specifies whether principals outside your organization in AWS Organizations can be associated with a resource share.

      A value of true lets you share with individual AWS accounts that are not in your organization. A value of false only has meaning if your account is a member of an AWS Organization. The default value is true .

      Specified by:
      getAllowExternalPrincipals in interface CfnResourceShareProps
    • getPermissionArns

      public final List<String> getPermissionArns()
      Description copied from interface: CfnResourceShareProps
      Specifies the Amazon Resource Names (ARNs) of the AWS RAM permission to associate with the resource share. If you do not specify an ARN for the permission, AWS RAM automatically attaches the default version of the permission for each resource type. You can associate only one permission with each resource type included in the resource share.
      Specified by:
      getPermissionArns in interface CfnResourceShareProps
    • getPrincipals

      public final List<String> getPrincipals()
      Description copied from interface: CfnResourceShareProps
      Specifies the principals to associate with the resource share. The possible values are:.

      • An AWS account ID
      • An Amazon Resource Name (ARN) of an organization in AWS Organizations
      • An ARN of an organizational unit (OU) in AWS Organizations
      • An ARN of an IAM role
      • An ARN of an IAM user

      Not all resource types can be shared with IAM roles and users. For more information, see the column Can share with IAM roles and users in the tables on Shareable AWS resources in the AWS Resource Access Manager User Guide .

      Specified by:
      getPrincipals in interface CfnResourceShareProps
    • getResourceArns

      public final List<String> getResourceArns()
      Description copied from interface: CfnResourceShareProps
      Specifies a list of one or more ARNs of the resources to associate with the resource share.
      Specified by:
      getResourceArns in interface CfnResourceShareProps
    • getTags

      public final List<CfnTag> getTags()
      Description copied from interface: CfnResourceShareProps
      Specifies one or more tags to attach to the resource share itself.

      It doesn't attach the tags to the resources associated with the resource share.

      Specified by:
      getTags in interface CfnResourceShareProps
    • $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