Service is the Schema for the Services API
Type
CRD
Group
servicediscovery.aws.crossplane.io
Version
v1alpha1
apiVersion: servicediscovery.aws.crossplane.io/v1alpha1
kind: Service
ServiceSpec defines the desired state of Service
ServiceParameters defines the desired state of Service
A complex type that contains information about the Amazon Route 53 records that you want Cloud Map to create when you register an instance.
Public DNS and HTTP namespaces only. A complex type that contains settings for an optional Route 53 health check. If you specify settings for a health check, Cloud Map associates the health check with all the Route 53 DNS records that you specify in DnsConfig.
If you specify a health check configuration, you can specify either HealthCheckCustomConfig or HealthCheckConfig but not both.
For information about the charges for health checks, see Cloud Map Pricing (http://aws.amazon.com/cloud-map/pricing/).
A complex type that contains information about an optional custom health check.
If you specify a health check configuration, you can specify either HealthCheckCustomConfig or HealthCheckConfig but not both.
You can't add, update, or delete a HealthCheckCustomConfig configuration from an existing service.
ServiceNameRef is a reference to a service used to set the ServiceName.
Policies for referencing.
ServiceNameSelector selects references to service used to set the ServiceName.
Policies for selection.
THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
ServiceStatus defines the observed state of Service.
ServiceObservation defines the observed state of Service
Conditions of the resource.
example-sd-service
apiVersion: servicediscovery.aws.crossplane.io/v1alpha1
kind: Service
metadata:
name: example-sd-service
spec:
forProvider:
description: service example
dnsConfig:
dnsRecords:
- tTL: 300
type_: A
name: crossplane-sd-service-test
namespaceID: example-privatednsnamespace
region: us-east-1
tags:
- key: cluster
value: my-cluster
providerConfigRef:
name: example
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.