@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-09T19:25:26.049Z") @Stability(value=Stable) public class CfnEndpointAccess extends CfnResource implements IInspectable
Creates a Redshift-managed VPC endpoint.
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.*;
CfnEndpointAccess cfnEndpointAccess = CfnEndpointAccess.Builder.create(this, "MyCfnEndpointAccess")
.endpointName("endpointName")
.vpcSecurityGroupIds(List.of("vpcSecurityGroupIds"))
// the properties below are optional
.clusterIdentifier("clusterIdentifier")
.resourceOwner("resourceOwner")
.subnetGroupName("subnetGroupName")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnEndpointAccess.Builder
A fluent builder for
CfnEndpointAccess. |
static interface |
CfnEndpointAccess.VpcSecurityGroupProperty
The security groups associated with the endpoint.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$ProxyIConstruct.Jsii$Default| 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 |
|---|---|
|
CfnEndpointAccess(Construct scope,
String id,
CfnEndpointAccessProps props)
Create a new `AWS::Redshift::EndpointAccess`.
|
protected |
CfnEndpointAccess(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnEndpointAccess(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrAddress()
The DNS address of the endpoint.
|
String |
getAttrEndpointCreateTime()
The time (UTC) that the endpoint was created.
|
String |
getAttrEndpointStatus()
The status of the endpoint.
|
Number |
getAttrPort()
The port number on which the cluster accepts incoming connections.
|
IResolvable |
getAttrVpcSecurityGroups() |
protected Map<String,Object> |
getCfnProperties() |
String |
getClusterIdentifier()
The cluster identifier of the cluster associated with the endpoint.
|
String |
getEndpointName()
The name of the endpoint.
|
String |
getResourceOwner()
The AWS account ID of the owner of the cluster.
|
String |
getSubnetGroupName()
The subnet group name where Amazon Redshift chooses to deploy the endpoint.
|
List<String> |
getVpcSecurityGroupIds()
The security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setClusterIdentifier(String value)
The cluster identifier of the cluster associated with the endpoint.
|
void |
setEndpointName(String value)
The name of the endpoint.
|
void |
setResourceOwner(String value)
The AWS account ID of the owner of the cluster.
|
void |
setSubnetGroupName(String value)
The subnet group name where Amazon Redshift chooses to deploy the endpoint.
|
void |
setVpcSecurityGroupIds(List<String> value)
The security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnEndpointAccess(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnEndpointAccess(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnEndpointAccess(@NotNull
Construct scope,
@NotNull
String id,
@NotNull
CfnEndpointAccessProps 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 String getAttrAddress()
@Stability(value=Stable) @NotNull public String getAttrEndpointCreateTime()
@Stability(value=Stable) @NotNull public String getAttrEndpointStatus()
@Stability(value=Stable) @NotNull public Number getAttrPort()
@Stability(value=Stable) @NotNull public IResolvable getAttrVpcSecurityGroups()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getEndpointName()
@Stability(value=Stable)
public void setEndpointName(@NotNull
String value)
@Stability(value=Stable) @NotNull public List<String> getVpcSecurityGroupIds()
@Stability(value=Stable)
public void setVpcSecurityGroupIds(@NotNull
List<String> value)
@Stability(value=Stable) @Nullable public String getClusterIdentifier()
@Stability(value=Stable)
public void setClusterIdentifier(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getResourceOwner()
@Stability(value=Stable)
public void setResourceOwner(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getSubnetGroupName()
@Stability(value=Stable)
public void setSubnetGroupName(@Nullable
String value)
Copyright © 2022. All rights reserved.