@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.539Z") @Stability(value=Stable) public class CfnEndpointAuthorization extends CfnResource implements IInspectable
Describes an endpoint authorization for authorizing Redshift-managed VPC endpoint access to a cluster across AWS accounts .
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.redshift.*;
CfnEndpointAuthorization cfnEndpointAuthorization = CfnEndpointAuthorization.Builder.create(this, "MyCfnEndpointAuthorization")
.account("account")
.clusterIdentifier("clusterIdentifier")
// the properties below are optional
.force(false)
.vpcIds(List.of("vpcIds"))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnEndpointAuthorization.Builder
A fluent builder for
CfnEndpointAuthorization. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnEndpointAuthorization(software.constructs.Construct scope,
String id,
CfnEndpointAuthorizationProps props)
Create a new `AWS::Redshift::EndpointAuthorization`.
|
protected |
CfnEndpointAuthorization(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnEndpointAuthorization(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccount()
The A AWS account ID of either the cluster owner (grantor) or grantee.
|
IResolvable |
getAttrAllowedAllVpCs()
Indicates whether all VPCs in the grantee account are allowed access to the cluster.
|
List<String> |
getAttrAllowedVpCs()
The VPCs allowed access to the cluster.
|
String |
getAttrAuthorizeTime()
The time (UTC) when the authorization was created.
|
String |
getAttrClusterStatus()
The status of the cluster.
|
Number |
getAttrEndpointCount()
The number of Redshift-managed VPC endpoints created for the authorization.
|
String |
getAttrGrantee()
The AWS account ID of the grantee of the cluster.
|
String |
getAttrGrantor()
The AWS account ID of the cluster owner.
|
String |
getAttrStatus()
The status of the authorization action.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getClusterIdentifier()
The cluster identifier.
|
Object |
getForce()
Indicates whether to force the revoke action.
|
List<String> |
getVpcIds()
The virtual private cloud (VPC) identifiers to grant access to.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAccount(String value)
The A AWS account ID of either the cluster owner (grantor) or grantee.
|
void |
setClusterIdentifier(String value)
The cluster identifier.
|
void |
setForce(Boolean value)
Indicates whether to force the revoke action.
|
void |
setForce(IResolvable value)
Indicates whether to force the revoke action.
|
void |
setVpcIds(List<String> value)
The virtual private cloud (VPC) identifiers to grant access to.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnEndpointAuthorization(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnEndpointAuthorization(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnEndpointAuthorization(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnEndpointAuthorizationProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public IResolvable getAttrAllowedAllVpCs()
@Stability(value=Stable) @NotNull public List<String> getAttrAllowedVpCs()
@Stability(value=Stable) @NotNull public String getAttrAuthorizeTime()
@Stability(value=Stable) @NotNull public String getAttrClusterStatus()
@Stability(value=Stable) @NotNull public Number getAttrEndpointCount()
@Stability(value=Stable) @NotNull public String getAttrGrantee()
@Stability(value=Stable) @NotNull public String getAttrGrantor()
@Stability(value=Stable) @NotNull public String getAttrStatus()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getAccount()
If Grantee parameter is true, then the Account value is of the grantor.
@Stability(value=Stable)
public void setAccount(@NotNull
String value)
If Grantee parameter is true, then the Account value is of the grantor.
@Stability(value=Stable) @NotNull public String getClusterIdentifier()
@Stability(value=Stable)
public void setClusterIdentifier(@NotNull
String value)
@Stability(value=Stable) @Nullable public Object getForce()
If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.
@Stability(value=Stable)
public void setForce(@Nullable
Boolean value)
If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.
@Stability(value=Stable)
public void setForce(@Nullable
IResolvable value)
If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.
@Stability(value=Stable) @Nullable public List<String> getVpcIds()
Copyright © 2022. All rights reserved.