CfnVerifiedAccessEndpointProps Struct
Properties for defining a CfnVerifiedAccessEndpoint.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnVerifiedAccessEndpointProps: ec2.CfnVerifiedAccessEndpointProps = {
attachmentType: 'attachmentType',
endpointType: 'endpointType',
verifiedAccessGroupId: 'verifiedAccessGroupId',
// the properties below are optional
applicationDomain: 'applicationDomain',
cidrOptions: {
cidr: 'cidr',
portRanges: [{
fromPort: 123,
toPort: 123,
}],
protocol: 'protocol',
subnetIds: ['subnetIds'],
},
description: 'description',
domainCertificateArn: 'domainCertificateArn',
endpointDomainPrefix: 'endpointDomainPrefix',
loadBalancerOptions: {
loadBalancerArn: 'loadBalancerArn',
port: 123,
portRanges: [{
fromPort: 123,
toPort: 123,
}],
protocol: 'protocol',
subnetIds: ['subnetIds'],
},
networkInterfaceOptions: {
networkInterfaceId: 'networkInterfaceId',
port: 123,
portRanges: [{
fromPort: 123,
toPort: 123,
}],
protocol: 'protocol',
},
policyDocument: 'policyDocument',
policyEnabled: false,
rdsOptions: {
port: 123,
protocol: 'protocol',
rdsDbClusterArn: 'rdsDbClusterArn',
rdsDbInstanceArn: 'rdsDbInstanceArn',
rdsDbProxyArn: 'rdsDbProxyArn',
rdsEndpoint: 'rdsEndpoint',
subnetIds: ['subnetIds'],
},
securityGroupIds: ['securityGroupIds'],
sseSpecification: {
customerManagedKeyEnabled: false,
kmsKeyArn: 'kmsKeyArn',
},
tags: [{
key: 'key',
value: 'value',
}],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2
cfn_verified_access_endpoint_props = ec2.CfnVerifiedAccessEndpointProps(
attachment_type="attachmentType",
endpoint_type="endpointType",
verified_access_group_id="verifiedAccessGroupId",
# the properties below are optional
application_domain="applicationDomain",
cidr_options=ec2.CfnVerifiedAccessEndpoint.CidrOptionsProperty(
cidr="cidr",
port_ranges=[ec2.CfnVerifiedAccessEndpoint.PortRangeProperty(
from_port=123,
to_port=123
)],
protocol="protocol",
subnet_ids=["subnetIds"]
),
description="description",
domain_certificate_arn="domainCertificateArn",
endpoint_domain_prefix="endpointDomainPrefix",
load_balancer_options=ec2.CfnVerifiedAccessEndpoint.LoadBalancerOptionsProperty(
load_balancer_arn="loadBalancerArn",
port=123,
port_ranges=[ec2.CfnVerifiedAccessEndpoint.PortRangeProperty(
from_port=123,
to_port=123
)],
protocol="protocol",
subnet_ids=["subnetIds"]
),
network_interface_options=ec2.CfnVerifiedAccessEndpoint.NetworkInterfaceOptionsProperty(
network_interface_id="networkInterfaceId",
port=123,
port_ranges=[ec2.CfnVerifiedAccessEndpoint.PortRangeProperty(
from_port=123,
to_port=123
)],
protocol="protocol"
),
policy_document="policyDocument",
policy_enabled=False,
rds_options=ec2.CfnVerifiedAccessEndpoint.RdsOptionsProperty(
port=123,
protocol="protocol",
rds_db_cluster_arn="rdsDbClusterArn",
rds_db_instance_arn="rdsDbInstanceArn",
rds_db_proxy_arn="rdsDbProxyArn",
rds_endpoint="rdsEndpoint",
subnet_ids=["subnetIds"]
),
security_group_ids=["securityGroupIds"],
sse_specification=ec2.CfnVerifiedAccessEndpoint.SseSpecificationProperty(
customer_managed_key_enabled=False,
kms_key_arn="kmsKeyArn"
),
tags=[CfnTag(
key="key",
value="value"
)]
)
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.ec2.*;
CfnVerifiedAccessEndpointProps cfnVerifiedAccessEndpointProps = CfnVerifiedAccessEndpointProps.builder()
.attachmentType("attachmentType")
.endpointType("endpointType")
.verifiedAccessGroupId("verifiedAccessGroupId")
// the properties below are optional
.applicationDomain("applicationDomain")
.cidrOptions(CidrOptionsProperty.builder()
.cidr("cidr")
.portRanges(List.of(PortRangeProperty.builder()
.fromPort(123)
.toPort(123)
.build()))
.protocol("protocol")
.subnetIds(List.of("subnetIds"))
.build())
.description("description")
.domainCertificateArn("domainCertificateArn")
.endpointDomainPrefix("endpointDomainPrefix")
.loadBalancerOptions(LoadBalancerOptionsProperty.builder()
.loadBalancerArn("loadBalancerArn")
.port(123)
.portRanges(List.of(PortRangeProperty.builder()
.fromPort(123)
.toPort(123)
.build()))
.protocol("protocol")
.subnetIds(List.of("subnetIds"))
.build())
.networkInterfaceOptions(NetworkInterfaceOptionsProperty.builder()
.networkInterfaceId("networkInterfaceId")
.port(123)
.portRanges(List.of(PortRangeProperty.builder()
.fromPort(123)
.toPort(123)
.build()))
.protocol("protocol")
.build())
.policyDocument("policyDocument")
.policyEnabled(false)
.rdsOptions(RdsOptionsProperty.builder()
.port(123)
.protocol("protocol")
.rdsDbClusterArn("rdsDbClusterArn")
.rdsDbInstanceArn("rdsDbInstanceArn")
.rdsDbProxyArn("rdsDbProxyArn")
.rdsEndpoint("rdsEndpoint")
.subnetIds(List.of("subnetIds"))
.build())
.securityGroupIds(List.of("securityGroupIds"))
.sseSpecification(SseSpecificationProperty.builder()
.customerManagedKeyEnabled(false)
.kmsKeyArn("kmsKeyArn")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.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.EC2;
var cfnVerifiedAccessEndpointProps = new CfnVerifiedAccessEndpointProps {
AttachmentType = "attachmentType",
EndpointType = "endpointType",
VerifiedAccessGroupId = "verifiedAccessGroupId",
// the properties below are optional
ApplicationDomain = "applicationDomain",
CidrOptions = new CidrOptionsProperty {
Cidr = "cidr",
PortRanges = new [] { new PortRangeProperty {
FromPort = 123,
ToPort = 123
} },
Protocol = "protocol",
SubnetIds = new [] { "subnetIds" }
},
Description = "description",
DomainCertificateArn = "domainCertificateArn",
EndpointDomainPrefix = "endpointDomainPrefix",
LoadBalancerOptions = new LoadBalancerOptionsProperty {
LoadBalancerArn = "loadBalancerArn",
Port = 123,
PortRanges = new [] { new PortRangeProperty {
FromPort = 123,
ToPort = 123
} },
Protocol = "protocol",
SubnetIds = new [] { "subnetIds" }
},
NetworkInterfaceOptions = new NetworkInterfaceOptionsProperty {
NetworkInterfaceId = "networkInterfaceId",
Port = 123,
PortRanges = new [] { new PortRangeProperty {
FromPort = 123,
ToPort = 123
} },
Protocol = "protocol"
},
PolicyDocument = "policyDocument",
PolicyEnabled = false,
RdsOptions = new RdsOptionsProperty {
Port = 123,
Protocol = "protocol",
RdsDbClusterArn = "rdsDbClusterArn",
RdsDbInstanceArn = "rdsDbInstanceArn",
RdsDbProxyArn = "rdsDbProxyArn",
RdsEndpoint = "rdsEndpoint",
SubnetIds = new [] { "subnetIds" }
},
SecurityGroupIds = new [] { "securityGroupIds" },
SseSpecification = new SseSpecificationProperty {
CustomerManagedKeyEnabled = false,
KmsKeyArn = "kmsKeyArn"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
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"
cfnVerifiedAccessEndpointProps := &CfnVerifiedAccessEndpointProps{
AttachmentType: jsii.String("attachmentType"),
EndpointType: jsii.String("endpointType"),
VerifiedAccessGroupId: jsii.String("verifiedAccessGroupId"),
// the properties below are optional
ApplicationDomain: jsii.String("applicationDomain"),
CidrOptions: &CidrOptionsProperty{
Cidr: jsii.String("cidr"),
PortRanges: []interface{}{
&PortRangeProperty{
FromPort: jsii.Number(123),
ToPort: jsii.Number(123),
},
},
Protocol: jsii.String("protocol"),
SubnetIds: []*string{
jsii.String("subnetIds"),
},
},
Description: jsii.String("description"),
DomainCertificateArn: jsii.String("domainCertificateArn"),
EndpointDomainPrefix: jsii.String("endpointDomainPrefix"),
LoadBalancerOptions: &LoadBalancerOptionsProperty{
LoadBalancerArn: jsii.String("loadBalancerArn"),
Port: jsii.Number(123),
PortRanges: []interface{}{
&PortRangeProperty{
FromPort: jsii.Number(123),
ToPort: jsii.Number(123),
},
},
Protocol: jsii.String("protocol"),
SubnetIds: []*string{
jsii.String("subnetIds"),
},
},
NetworkInterfaceOptions: &NetworkInterfaceOptionsProperty{
NetworkInterfaceId: jsii.String("networkInterfaceId"),
Port: jsii.Number(123),
PortRanges: []interface{}{
&PortRangeProperty{
FromPort: jsii.Number(123),
ToPort: jsii.Number(123),
},
},
Protocol: jsii.String("protocol"),
},
PolicyDocument: jsii.String("policyDocument"),
PolicyEnabled: jsii.Boolean(false),
RdsOptions: &RdsOptionsProperty{
Port: jsii.Number(123),
Protocol: jsii.String("protocol"),
RdsDbClusterArn: jsii.String("rdsDbClusterArn"),
RdsDbInstanceArn: jsii.String("rdsDbInstanceArn"),
RdsDbProxyArn: jsii.String("rdsDbProxyArn"),
RdsEndpoint: jsii.String("rdsEndpoint"),
SubnetIds: []*string{
jsii.String("subnetIds"),
},
},
SecurityGroupIds: []*string{
jsii.String("securityGroupIds"),
},
SseSpecification: &SseSpecificationProperty{
CustomerManagedKeyEnabled: jsii.Boolean(false),
KmsKeyArn: jsii.String("kmsKeyArn"),
},
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
applicationDomainoptionalstringapplication_domainoptionalstrapplicationDomainoptionalStringApplicationDomainoptionalstringApplicationDomainoptional*string #The DNS name for users to reach your application.
attachmentTypestringattachment_typestrattachmentTypeStringAttachmentTypestringAttachmentType*string required #The type of attachment used to provide connectivity between the AWS Verified Access endpoint and the application.
cidrOptionsoptionalIResolvable | CfnVerifiedAccessEndpoint.cidr_optionsoptionaltyping.Union[IResolvable, CidrOptionsProperty]cidrOptionsoptionalIResolvableCidrOptionsoptionalIResolvableCidrOptionsoptionalinterface{} #The options for a CIDR endpoint.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #A description for the AWS Verified Access endpoint.
domainCertificateArnoptionalstringdomain_certificate_arnoptionalstrdomainCertificateArnoptionalStringDomainCertificateArnoptionalstringDomainCertificateArnoptional*string #The ARN of a public TLS/SSL certificate imported into or created with ACM.
endpointDomainPrefixoptionalstringendpoint_domain_prefixoptionalstrendpointDomainPrefixoptionalStringEndpointDomainPrefixoptionalstringEndpointDomainPrefixoptional*string #A custom identifier that is prepended to the DNS name that is generated for the endpoint.
endpointTypestringendpoint_typestrendpointTypeStringEndpointTypestringEndpointType*string required #The type of AWS Verified Access endpoint.
Incoming application requests will be sent to an IP address, load balancer or a network interface depending on the endpoint type specified.
loadBalancerOptionsoptionalIResolvable | CfnVerifiedAccessEndpoint.load_balancer_optionsoptionaltyping.Union[IResolvable, LoadBalancerOptionsProperty]loadBalancerOptionsoptionalIResolvableLoadBalancerOptionsoptionalIResolvableLoadBalancerOptionsoptionalinterface{} #The load balancer details if creating the AWS Verified Access endpoint as `load-balancer` type.
networkInterfaceOptionsoptionalIResolvable | CfnVerifiedAccessEndpoint.network_interface_optionsoptionaltyping.Union[IResolvable, NetworkInterfaceOptionsProperty]networkInterfaceOptionsoptionalIResolvableNetworkInterfaceOptionsoptionalIResolvableNetworkInterfaceOptionsoptionalinterface{} #The options for network-interface type endpoint.
policyDocumentoptionalstringpolicy_documentoptionalstrpolicyDocumentoptionalStringPolicyDocumentoptionalstringPolicyDocumentoptional*string #The Verified Access policy document.
policyEnabledoptionalboolean | IResolvablepolicy_enabledoptionaltyping.Union[bool, IResolvable]policyEnabledoptionalBooleanPolicyEnabledoptionalboolPolicyEnabledoptionalinterface{} #The status of the Verified Access policy.
rdsOptionsoptionalIResolvable | CfnVerifiedAccessEndpoint.rds_optionsoptionaltyping.Union[IResolvable, RdsOptionsProperty]rdsOptionsoptionalIResolvableRdsOptionsoptionalIResolvableRdsOptionsoptionalinterface{} #The options for an RDS endpoint.
securityGroupIdsoptionalstring[]security_group_idsoptionaltyping.List[str]securityGroupIdsoptionalList<String>SecurityGroupIdsoptionalstring[]SecurityGroupIdsoptional*[]*string #The IDs of the security groups for the endpoint.
sseSpecificationoptionalIResolvable | CfnVerifiedAccessEndpoint.sse_specificationoptionaltyping.Union[IResolvable, SseSpecificationProperty]sseSpecificationoptionalIResolvableSseSpecificationoptionalIResolvableSseSpecificationoptionalinterface{} #The options for additional server side encryption.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #The tags.
verifiedAccessGroupIdstringverified_access_group_idstrverifiedAccessGroupIdStringVerifiedAccessGroupIdstringVerifiedAccessGroupId*string required #The ID of the AWS Verified Access group.