Skip to content
v2.275.0

ResourceConfigurationDefinitionProperty Struct ​

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.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_vpclattice as vpclattice } from 'aws-cdk-lib';
const resourceConfigurationDefinitionProperty: vpclattice.CfnResourceConfiguration.ResourceConfigurationDefinitionProperty = {
  arnResource: 'arnResource',
  cidrResource: {
    cidrRanges: ['cidrRanges'],
  },
  dnsResource: {
    domainName: 'domainName',
    ipAddressType: 'ipAddressType',
  },
  ipResource: 'ipResource',
};

Properties ​

arnResourceoptionalstringarn_resourceoptionalstrarnResourceoptionalStringArnResourceoptionalstringArnResourceoptional*string#
The Amazon Resource Name (ARN) of the resource configuration.

For the ARN syntax and format, see ARN format in the AWS Identity and Access Management user guide .

cidrResourceoptionalIResolvable | CfnResourceConfiguration.CidrResourcePropertycidr_resourceoptionaltyping.Union[IResolvable, CidrResourceProperty]cidrResourceoptionalIResolvableCidrResourceoptionalIResolvableCidrResourceoptionalinterface{}#
dnsResourceoptionalIResolvable | CfnResourceConfiguration.DnsResourcePropertydns_resourceoptionaltyping.Union[IResolvable, DnsResourceProperty]dnsResourceoptionalIResolvableDnsResourceoptionalIResolvableDnsResourceoptionalinterface{}#
The DNS name of the resource configuration.
ipResourceoptionalstringip_resourceoptionalstripResourceoptionalStringIpResourceoptionalstringIpResourceoptional*string#
The IP address of the resource configuration.