# CfnVerifiedAccessEndpointProps

Properties for defining a `CfnVerifiedAccessEndpoint`.

Used as props by: [CfnVerifiedAccessEndpoint](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.CfnVerifiedAccessEndpoint.html)

- Source: Generated at build time
- Type last changed: v2.178.0 · 6 Feb 2025

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
    } }
};
```

Golang:

```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

- `applicationDomain`: string — The DNS name for users to reach your application.

- `attachmentType`: string (required) — The type of attachment used to provide connectivity between the AWS Verified Access endpoint and the application.

- `cidrOptions`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnVerifiedAccessEndpoint.CidrOptionsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.CfnVerifiedAccessEndpoint.CidrOptionsProperty.html) — The options for a CIDR endpoint.

- `description`: string — A description for the AWS Verified Access endpoint.

- `domainCertificateArn`: string — The ARN of a public TLS/SSL certificate imported into or created with ACM.

- `endpointDomainPrefix`: string — A custom identifier that is prepended to the DNS name that is generated for the endpoint.

- `endpointType`: 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.

- `loadBalancerOptions`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnVerifiedAccessEndpoint.LoadBalancerOptionsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.CfnVerifiedAccessEndpoint.LoadBalancerOptionsProperty.html) — The load balancer details if creating the AWS Verified Access endpoint as `load-balancer` type.

- `networkInterfaceOptions`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnVerifiedAccessEndpoint.NetworkInterfaceOptionsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.CfnVerifiedAccessEndpoint.NetworkInterfaceOptionsProperty.html) — The options for network-interface type endpoint.

- `policyDocument`: string — The Verified Access policy document.

- `policyEnabled`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — The status of the Verified Access policy.

- `rdsOptions`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnVerifiedAccessEndpoint.RdsOptionsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.CfnVerifiedAccessEndpoint.RdsOptionsProperty.html) — The options for an RDS endpoint.

- `securityGroupIds`: string[] — The IDs of the security groups for the endpoint.

- `sseSpecification`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnVerifiedAccessEndpoint.SseSpecificationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.CfnVerifiedAccessEndpoint.SseSpecificationProperty.html) — The options for additional server side encryption.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags.

- `verifiedAccessGroupId`: string (required) — The ID of the AWS Verified Access group.
