@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:07.536Z") @Stability(value=Stable) public interface CfnResourceShareProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ram.*;
CfnResourceShareProps cfnResourceShareProps = CfnResourceShareProps.builder()
.name("name")
// the properties below are optional
.allowExternalPrincipals(false)
.permissionArns(List.of("permissionArns"))
.principals(List.of("principals"))
.resourceArns(List.of("resourceArns"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnResourceShareProps.Builder
A builder for
CfnResourceShareProps |
static class |
CfnResourceShareProps.Jsii$Proxy
An implementation for
CfnResourceShareProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnResourceShareProps.Builder |
builder() |
default Object |
getAllowExternalPrincipals()
`AWS::RAM::ResourceShare.AllowExternalPrincipals`.
|
String |
getName()
`AWS::RAM::ResourceShare.Name`.
|
default List<String> |
getPermissionArns()
`AWS::RAM::ResourceShare.PermissionArns`.
|
default List<String> |
getPrincipals()
`AWS::RAM::ResourceShare.Principals`.
|
default List<String> |
getResourceArns()
`AWS::RAM::ResourceShare.ResourceArns`.
|
default List<CfnTag> |
getTags()
`AWS::RAM::ResourceShare.Tags`.
|
@Stability(value=Stable) @Nullable default Object getAllowExternalPrincipals()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default List<String> getPermissionArns()
@Stability(value=Stable) @Nullable default List<String> getPrincipals()
@Stability(value=Stable) @Nullable default List<String> getResourceArns()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnResourceShareProps.Builder builder()
CfnResourceShareProps.Builder of CfnResourceSharePropsCopyright © 2021. All rights reserved.