Interface CfnResourceConfigurationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResourceConfigurationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:31.695Z")
@Stability(Stable)
public interface CfnResourceConfigurationProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.vpclattice.*;
CfnResourceConfigurationProps cfnResourceConfigurationProps = CfnResourceConfigurationProps.builder()
.name("name")
.resourceConfigurationType("resourceConfigurationType")
// the properties below are optional
.allowAssociationToSharableServiceNetwork(false)
.customDomainName("customDomainName")
.domainVerificationId("domainVerificationId")
.groupDomain("groupDomain")
.portRanges(List.of("portRanges"))
.protocolType("protocolType")
.resourceConfigurationAuthType("resourceConfigurationAuthType")
.resourceConfigurationDefinition(ResourceConfigurationDefinitionProperty.builder()
.arnResource("arnResource")
.dnsResource(DnsResourceProperty.builder()
.domainName("domainName")
.ipAddressType("ipAddressType")
.build())
.ipResource("ipResource")
.build())
.resourceConfigurationGroupId("resourceConfigurationGroupId")
.resourceGatewayId("resourceGatewayId")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnResourceConfigurationPropsstatic final classAn implementation forCfnResourceConfigurationProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectSpecifies whether the resource configuration can be associated with a sharable service network.default Stringdefault Stringdefault StringgetName()The name of the resource configuration.(SINGLE, GROUP, CHILD) The TCP port ranges that a consumer can use to access a resource configuration (for example: 1-65535).default String(SINGLE, GROUP) The protocol accepted by the resource configuration.default StringThe auth type for the resource configuration.default ObjectIdentifies the resource configuration in one of the following ways:.default StringThe ID of the group resource configuration.The type of resource configuration.default StringThe ID of the resource gateway.getTags()The tags for the resource configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the resource configuration.- See Also:
-
getResourceConfigurationType
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.
- See Also:
-
getAllowAssociationToSharableServiceNetwork
Specifies whether the resource configuration can be associated with a sharable service network.Returns union: either
BooleanorIResolvable- See Also:
-
getCustomDomainName
- See Also:
-
getDomainVerificationId
- See Also:
-
getGroupDomain
- See Also:
-
getPortRanges
(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).
- See Also:
-
getProtocolType
(SINGLE, GROUP) The protocol accepted by the resource configuration.- See Also:
-
getResourceConfigurationAuthType
The auth type for the resource configuration.- See Also:
-
getResourceConfigurationDefinition
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.
Returns union: either
IResolvableorCfnResourceConfiguration.ResourceConfigurationDefinitionProperty- See Also:
-
getResourceConfigurationGroupId
The ID of the group resource configuration.- See Also:
-
getResourceGatewayId
The ID of the resource gateway.- See Also:
-
getTags
The tags for the resource configuration.- See Also:
-
builder
-