AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::VpcLattice::ResourceConfiguration

CfnResourceConfiguration

Creates a resource configuration. A resource configuration defines a specific resource. You can associate a resource configuration with a service network or a VPC endpoint.

Import

import { CfnResourceConfiguration } from 'aws-cdk-lib/aws-vpclattice';

Or use the module namespace:

import * as vpclattice from 'aws-cdk-lib/aws-vpclattice';
// vpclattice.CfnResourceConfiguration

Properties

Configuration passed to the constructor as CfnResourceConfigurationProps.

nameRequired
string

The name of the resource configuration.

resourceConfigurationTypeRequired
string

The type of resource configuration. A resource configuration can be one of the following types:. - *SINGLE* - A single resource. - *GROUP* - A group of resources. You must create a group resource configuration before you create a child resource configuration. - *CHILD* - A single resource that is part of a group resource configuration. - *ARN* - An AWS resource.

allowAssociationToSharableServiceNetworkOptional
boolean | IResolvable

Specifies whether the resource configuration can be associated with a sharable service network.

customDomainNameOptional
string

The custom domain name.

domainVerificationIdOptional
string

The domain verification ID.

groupDomainOptional
string

(GROUP) The group domain for a group resource configuration. Any domains that you create for the child resource are subdomains of the group domain. Child resources inherit the verification status of the domain.

portRangesOptional
string[]

(SINGLE, GROUP, CHILD) The TCP port ranges that a consumer can use to access a resource configuration (for example: 1-65535). You can separate port ranges using commas (for example: 1,2,22-30).

protocolTypeOptional
string

(SINGLE, GROUP) The protocol accepted by the resource configuration.

resourceConfigurationAuthTypeOptional
string

The auth type for the resource configuration.

resourceConfigurationDefinitionOptional
IResolvable | ResourceConfigurationDefinitionProperty

Identifies the resource configuration in one of the following ways:. - *Amazon Resource Name (ARN)* - Supported resource-types that are provisioned by AWS services, such as RDS databases, can be identified by their ARN. - *Domain name* - Any domain name that is publicly resolvable. - *IP address* - For IPv4 and IPv6, only IP addresses in the VPC are supported.

resourceConfigurationGroupIdOptional
string

The ID of the group resource configuration.

resourceGatewayIdOptional
string

The ID of the resource gateway.

tagsOptional
CfnTag[]

The tags for the resource configuration.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter