Skip to content
v2.278.0

VpcSecurityGroupProperty Struct ​

The security groups associated with the endpoint.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_redshift as redshift } from 'aws-cdk-lib';
const vpcSecurityGroupProperty: redshift.CfnEndpointAccess.VpcSecurityGroupProperty = {
  status: 'status',
  vpcSecurityGroupId: 'vpcSecurityGroupId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_redshift as redshift

vpc_security_group_property = redshift.CfnEndpointAccess.VpcSecurityGroupProperty(
    status="status",
    vpc_security_group_id="vpcSecurityGroupId"
)
java
// 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.*;

VpcSecurityGroupProperty vpcSecurityGroupProperty = VpcSecurityGroupProperty.builder()
        .status("status")
        .vpcSecurityGroupId("vpcSecurityGroupId")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Redshift;

var vpcSecurityGroupProperty = new VpcSecurityGroupProperty {
    Status = "status",
    VpcSecurityGroupId = "vpcSecurityGroupId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

vpcSecurityGroupProperty := &VpcSecurityGroupProperty{
	Status: jsii.String("status"),
	VpcSecurityGroupId: jsii.String("vpcSecurityGroupId"),
}

Properties ​

statusoptionalstringstatusoptionalstrstatusoptionalStringStatusoptionalstringStatusoptional*string #
The status of the endpoint.
vpcSecurityGroupIdoptionalstringvpc_security_group_idoptionalstrvpcSecurityGroupIdoptionalStringVpcSecurityGroupIdoptionalstringVpcSecurityGroupIdoptional*string #
The identifier of the VPC security group.