Interface BaseInstanceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
AliasTargetInstanceProps,CnameInstanceBaseProps,CnameInstanceProps,IpInstanceBaseProps,IpInstanceProps,NonIpInstanceBaseProps,NonIpInstanceProps
- All Known Implementing Classes:
AliasTargetInstanceProps.Jsii$Proxy,BaseInstanceProps.Jsii$Proxy,CnameInstanceBaseProps.Jsii$Proxy,CnameInstanceProps.Jsii$Proxy,IpInstanceBaseProps.Jsii$Proxy,IpInstanceProps.Jsii$Proxy,NonIpInstanceBaseProps.Jsii$Proxy,NonIpInstanceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:41:00.856Z")
@Stability(Stable)
public interface BaseInstanceProps
extends software.amazon.jsii.JsiiSerializable
Used when the resource that's associated with the service instance is accessible using values other than an IP address or a domain name (CNAME), i.e. for non-ip-instances.
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.servicediscovery.*;
BaseInstanceProps baseInstanceProps = BaseInstanceProps.builder()
.customAttributes(Map.of(
"customAttributesKey", "customAttributes"))
.instanceId("instanceId")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forBaseInstancePropsstatic final classAn implementation forBaseInstanceProps -
Method Summary
Modifier and TypeMethodDescriptionstatic BaseInstanceProps.Builderbuilder()Custom attributes of the instance.default StringThe id of the instance resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCustomAttributes
Custom attributes of the instance.Default: none
-
getInstanceId
The id of the instance resource.Default: Automatically generated name
-
builder
- Returns:
- a
BaseInstanceProps.BuilderofBaseInstanceProps
-