@Stability(value=Stable) @Internal public static final class CfnResourceShareProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnResourceShareProps
CfnResourceSharePropssoftware.amazon.jsii.JsiiObject.InitializationModeCfnResourceShareProps.Builder, CfnResourceShareProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnResourceShareProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnResourceShareProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Object |
getAllowExternalPrincipals()
Specifies whether principals outside your organization in AWS Organizations can be associated with a resource share.
|
String |
getName()
Specifies the name of the resource share.
|
List<String> |
getPermissionArns()
Specifies the [Amazon Resource Names (ARNs)](https://docs.aws.amazon.com//general/latest/gr/aws-arns-and-namespaces.html) of the AWS RAM permission to associate with the resource share.
|
List<String> |
getPrincipals()
Specifies a list of one or more principals to associate with the resource share.
|
List<String> |
getResourceArns()
Specifies a list of one or more ARNs of the resources to associate with the resource share.
|
List<CfnTag> |
getTags()
Specifies one or more tags to attach to the resource share itself.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnResourceShareProps.Builder builder)
CfnResourceShareProps.Builder.public final String getName()
CfnResourceSharePropsgetName in interface CfnResourceSharePropspublic final Object getAllowExternalPrincipals()
CfnResourceShareProps
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 .
getAllowExternalPrincipals in interface CfnResourceSharePropspublic final List<String> getPermissionArns()
CfnResourceSharePropsgetPermissionArns in interface CfnResourceSharePropspublic final List<String> getPrincipals()
CfnResourceSharePropsYou can include the following values:
123456789012arn:aws:organizations::123456789012:organization/o-exampleorgidarn:aws:organizations::123456789012:ou/o-exampleorgid/ou-examplerootid-exampleouid123arn:aws:iam::123456789012:role/rolenamearn:aws:iam::123456789012user/username
Not all resource types can be shared with IAM roles and users. For more information, see Sharing with IAM roles and users in the AWS Resource Access Manager User Guide .
getPrincipals in interface CfnResourceSharePropspublic final List<String> getResourceArns()
CfnResourceSharePropsgetResourceArns in interface CfnResourceSharePropspublic final List<CfnTag> getTags()
CfnResourceSharePropsIt doesn't attach the tags to the resources associated with the resource share.
getTags in interface CfnResourceShareProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.