CfnEndpointAccessPropsMixin
- class aws_cdk.mixins_preview.aws_redshift.mixins.CfnEndpointAccessPropsMixin(props, *, strategy=None)
Bases:
MixinCreates a Redshift-managed VPC endpoint.
- See:
- CloudformationResource:
AWS::Redshift::EndpointAccess
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview import mixins from aws_cdk.mixins_preview.aws_redshift import mixins as redshift_mixins cfn_endpoint_access_props_mixin = redshift_mixins.CfnEndpointAccessPropsMixin(redshift_mixins.CfnEndpointAccessMixinProps( cluster_identifier="clusterIdentifier", endpoint_name="endpointName", resource_owner="resourceOwner", subnet_group_name="subnetGroupName", vpc_security_group_ids=["vpcSecurityGroupIds"] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::Redshift::EndpointAccess.- Parameters:
props (
Union[CfnEndpointAccessMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['clusterIdentifier', 'endpointName', 'resourceOwner', 'subnetGroupName', 'vpcSecurityGroupIds']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
NetworkInterfaceProperty
- class CfnEndpointAccessPropsMixin.NetworkInterfaceProperty(*, availability_zone=None, network_interface_id=None, private_ip_address=None, subnet_id=None)
Bases:
objectDescribes a network interface.
- Parameters:
availability_zone (
Optional[str]) – The Availability Zone.network_interface_id (
Optional[str]) – The network interface identifier.private_ip_address (
Optional[str]) – The IPv4 address of the network interface within the subnet.subnet_id (
Optional[str]) – The subnet identifier.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_redshift import mixins as redshift_mixins network_interface_property = redshift_mixins.CfnEndpointAccessPropsMixin.NetworkInterfaceProperty( availability_zone="availabilityZone", network_interface_id="networkInterfaceId", private_ip_address="privateIpAddress", subnet_id="subnetId" )
Attributes
- availability_zone
The Availability Zone.
- network_interface_id
The network interface identifier.
- private_ip_address
The IPv4 address of the network interface within the subnet.
VpcEndpointProperty
- class CfnEndpointAccessPropsMixin.VpcEndpointProperty(*, network_interfaces=None, vpc_endpoint_id=None, vpc_id=None)
Bases:
objectThe connection endpoint for connecting to an Amazon Redshift cluster through the proxy.
- Parameters:
network_interfaces (
Union[IResolvable,Sequence[Union[IResolvable,NetworkInterfaceProperty,Dict[str,Any]]],None]) – One or more network interfaces of the endpoint. Also known as an interface endpoint.vpc_endpoint_id (
Optional[str]) – The connection endpoint ID for connecting an Amazon Redshift cluster through the proxy.vpc_id (
Optional[str]) – The VPC identifier that the endpoint is associated.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_redshift import mixins as redshift_mixins vpc_endpoint_property = redshift_mixins.CfnEndpointAccessPropsMixin.VpcEndpointProperty( network_interfaces=[redshift_mixins.CfnEndpointAccessPropsMixin.NetworkInterfaceProperty( availability_zone="availabilityZone", network_interface_id="networkInterfaceId", private_ip_address="privateIpAddress", subnet_id="subnetId" )], vpc_endpoint_id="vpcEndpointId", vpc_id="vpcId" )
Attributes
- network_interfaces
One or more network interfaces of the endpoint.
Also known as an interface endpoint.
- vpc_endpoint_id
The connection endpoint ID for connecting an Amazon Redshift cluster through the proxy.
- vpc_id
The VPC identifier that the endpoint is associated.
VpcSecurityGroupProperty
- class CfnEndpointAccessPropsMixin.VpcSecurityGroupProperty(*, status=None, vpc_security_group_id=None)
Bases:
objectThe security groups associated with the endpoint.
- Parameters:
status (
Optional[str]) – The status of the endpoint.vpc_security_group_id (
Optional[str]) – The identifier of the VPC security group.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_redshift import mixins as redshift_mixins vpc_security_group_property = redshift_mixins.CfnEndpointAccessPropsMixin.VpcSecurityGroupProperty( status="status", vpc_security_group_id="vpcSecurityGroupId" )
Attributes
- status
The status of the endpoint.
- vpc_security_group_id
The identifier of the VPC security group.