interface CfnResourceConfigurationProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.VpcLattice.CfnResourceConfigurationProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsvpclattice#CfnResourceConfigurationProps |
![]() | software.amazon.awscdk.services.vpclattice.CfnResourceConfigurationProps |
![]() | aws_cdk.aws_vpclattice.CfnResourceConfigurationProps |
![]() | aws-cdk-lib » aws_vpclattice » CfnResourceConfigurationProps |
Properties for defining a CfnResourceConfiguration
.
Example
// 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 cfnResourceConfigurationProps: vpclattice.CfnResourceConfigurationProps = {
allowAssociationToSharableServiceNetwork: false,
name: 'name',
portRanges: ['portRanges'],
protocolType: 'protocolType',
resourceConfigurationAuthType: 'resourceConfigurationAuthType',
resourceConfigurationDefinition: {
arnResource: 'arnResource',
dnsResource: {
domainName: 'domainName',
ipAddressType: 'ipAddressType',
},
ipResource: 'ipResource',
},
resourceConfigurationGroupId: 'resourceConfigurationGroupId',
resourceConfigurationType: 'resourceConfigurationType',
resourceGatewayId: 'resourceGatewayId',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
allow | boolean | IResolvable | Specifies whether the resource configuration can be associated with a sharable service network. |
name? | string | The name of the resource configuration. |
port | string[] | (SINGLE, GROUP, CHILD) The TCP port ranges that a consumer can use to access a resource configuration (for example: 1-65535). |
protocol | string | (SINGLE, GROUP) The protocol accepted by the resource configuration. |
resource | string | The auth type for the resource configuration. |
resource | IResolvable | Resource | Identifies the resource configuration in one of the following ways:. |
resource | string | The ID of the group resource configuration. |
resource | string | The type of resource configuration. A resource configuration can be one of the following types:. |
resource | string | The ID of the resource gateway. |
tags? | Cfn [] | The tags for the resource configuration. |
allowAssociationToSharableServiceNetwork?
Type:
boolean |
IResolvable
(optional)
Specifies whether the resource configuration can be associated with a sharable service network.
name?
Type:
string
(optional)
The name of the resource configuration.
portRanges?
Type:
string[]
(optional)
(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).
protocolType?
Type:
string
(optional)
(SINGLE, GROUP) The protocol accepted by the resource configuration.
resourceConfigurationAuthType?
Type:
string
(optional)
The auth type for the resource configuration.
resourceConfigurationDefinition?
Type:
IResolvable
|
Resource
(optional)
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.
resourceConfigurationGroupId?
Type:
string
(optional)
The ID of the group resource configuration.
resourceConfigurationType?
Type:
string
(optional)
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.
resourceGatewayId?
Type:
string
(optional)
The ID of the resource gateway.
tags?
Type:
Cfn
[]
(optional)
The tags for the resource configuration.