Class ServiceProps.Jsii$Proxy
- All Implemented Interfaces:
BaseServiceProps,DnsServiceProps,ServiceProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ServiceProps
ServiceProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.servicediscovery.ServiceProps
ServiceProps.Builder, ServiceProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(ServiceProps.Builder builder) Constructor that initializes the object based on literal property values passed by theServiceProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal HealthCheckCustomConfigStructure containing failure threshold for a custom health checker.final StringA description of the service.final DnsRecordTypeThe DNS type of the record that you want AWS Cloud Map to create.final DurationThe amount of time, in seconds, that you want DNS resolvers to cache the settings for this record.final HealthCheckConfigSettings for an optional health check.final BooleanWhether or not this service will have an Elastic LoadBalancer registered to it as an AliasTargetInstance.final StringgetName()A name for the Service.final INamespaceThe namespace that you want to use for DNS configuration.final RoutingPolicyThe routing policy that you want to apply to all DNS records that AWS Cloud Map creates when you register an instance and specify this service.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theServiceProps.Builder.
-
-
Method Details
-
getNamespace
Description copied from interface:ServicePropsThe namespace that you want to use for DNS configuration.- Specified by:
getNamespacein interfaceServiceProps
-
getDnsRecordType
Description copied from interface:DnsServicePropsThe DNS type of the record that you want AWS Cloud Map to create.Supported record types include A, AAAA, A and AAAA (A_AAAA), CNAME, and SRV.
Default: A
- Specified by:
getDnsRecordTypein interfaceDnsServiceProps
-
getDnsTtl
Description copied from interface:DnsServicePropsThe amount of time, in seconds, that you want DNS resolvers to cache the settings for this record.Default: Duration.minutes(1)
- Specified by:
getDnsTtlin interfaceDnsServiceProps
-
getLoadBalancer
Description copied from interface:DnsServicePropsWhether or not this service will have an Elastic LoadBalancer registered to it as an AliasTargetInstance.Setting this to
truecorrectly configures theroutingPolicyand performs some additional validation.Default: false
- Specified by:
getLoadBalancerin interfaceDnsServiceProps
-
getRoutingPolicy
Description copied from interface:DnsServicePropsThe routing policy that you want to apply to all DNS records that AWS Cloud Map creates when you register an instance and specify this service.Default: WEIGHTED for CNAME records and when loadBalancer is true, MULTIVALUE otherwise
- Specified by:
getRoutingPolicyin interfaceDnsServiceProps
-
getCustomHealthCheck
Description copied from interface:BaseServicePropsStructure containing failure threshold for a custom health checker.Only one of healthCheckConfig or healthCheckCustomConfig can be specified. See: https://docs.aws.amazon.com/cloud-map/latest/api/API_HealthCheckCustomConfig.html
Default: none
- Specified by:
getCustomHealthCheckin interfaceBaseServiceProps
-
getDescription
Description copied from interface:BaseServicePropsA description of the service.Default: none
- Specified by:
getDescriptionin interfaceBaseServiceProps
-
getHealthCheck
Description copied from interface:BaseServicePropsSettings for an optional health check.If you specify health check settings, AWS Cloud Map associates the health check with the records that you specify in DnsConfig. Only one of healthCheckConfig or healthCheckCustomConfig can be specified. Not valid for PrivateDnsNamespaces. If you use healthCheck, you can only register IP instances to this service.
Default: none
- Specified by:
getHealthCheckin interfaceBaseServiceProps
-
getName
Description copied from interface:BaseServicePropsA name for the Service.Default: CloudFormation-generated name
- Specified by:
getNamein interfaceBaseServiceProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-