AWS::VpcLattice::ResourceConfigurationCreates 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 { CfnResourceConfiguration } from 'aws-cdk-lib/aws-vpclattice';Or use the module namespace:
import * as vpclattice from 'aws-cdk-lib/aws-vpclattice';
// vpclattice.CfnResourceConfigurationConfiguration passed to the constructor as CfnResourceConfigurationProps.
nameRequiredstringThe name of the resource configuration.
resourceConfigurationTypeRequiredstringThe 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.
allowAssociationToSharableServiceNetworkOptionalboolean | IResolvableSpecifies whether the resource configuration can be associated with a sharable service network.
customDomainNameOptionalstringThe custom domain name.
domainVerificationIdOptionalstringThe domain verification ID.
groupDomainOptionalstring(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.
portRangesOptionalstring[](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).
protocolTypeOptionalstring(SINGLE, GROUP) The protocol accepted by the resource configuration.
resourceConfigurationAuthTypeOptionalstringThe auth type for the resource configuration.
resourceConfigurationDefinitionOptionalIResolvable | ResourceConfigurationDefinitionPropertyIdentifies 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.
resourceConfigurationGroupIdOptionalstringThe ID of the group resource configuration.
resourceGatewayIdOptionalstringThe ID of the resource gateway.
tagsOptionalCfnTag[]The tags for the resource configuration.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-vpclatticeAWS::VpcLattice::ResourceConfiguration