Interface CfnResourceConfiguration.ResourceConfigurationDefinitionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResourceConfiguration.ResourceConfigurationDefinitionProperty.Jsii$Proxy
- Enclosing class:
CfnResourceConfiguration
@Stability(Stable)
public static interface CfnResourceConfiguration.ResourceConfigurationDefinitionProperty
extends software.amazon.jsii.JsiiSerializable
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:
// 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.*;
ResourceConfigurationDefinitionProperty resourceConfigurationDefinitionProperty = ResourceConfigurationDefinitionProperty.builder()
.arnResource("arnResource")
.dnsResource(DnsResourceProperty.builder()
.domainName("domainName")
.ipAddressType("ipAddressType")
.build())
.ipResource("ipResource")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnResourceConfiguration.ResourceConfigurationDefinitionProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getArnResource
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 .
- See Also:
-
getDnsResource
The DNS name of the resource configuration.Returns union: either
IResolvableorCfnResourceConfiguration.DnsResourceProperty- See Also:
-
getIpResource
The IP address of the resource configuration.- See Also:
-
builder
@Stability(Stable) static CfnResourceConfiguration.ResourceConfigurationDefinitionProperty.Builder builder()
-