servicediscovery

package
v1.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpNamespace added in v0.16.5

type HttpNamespace struct {
	pulumi.CustomResourceState

	// The ARN that Amazon Route 53 assigns to the namespace when you create it.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The description that you specify for the namespace when you create it.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name of the http namespace.
	Name pulumi.StringOutput `pulumi:"name"`
}

func GetHttpNamespace added in v0.16.5

func GetHttpNamespace(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HttpNamespaceState, opts ...pulumi.ResourceOption) (*HttpNamespace, error)

GetHttpNamespace gets an existing HttpNamespace resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewHttpNamespace added in v0.16.5

func NewHttpNamespace(ctx *pulumi.Context,
	name string, args *HttpNamespaceArgs, opts ...pulumi.ResourceOption) (*HttpNamespace, error)

NewHttpNamespace registers a new resource with the given unique name, arguments, and options.

type HttpNamespaceArgs added in v0.16.5

type HttpNamespaceArgs struct {
	// The description that you specify for the namespace when you create it.
	Description pulumi.StringPtrInput
	// The name of the http namespace.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a HttpNamespace resource.

func (HttpNamespaceArgs) ElementType added in v1.19.0

func (HttpNamespaceArgs) ElementType() reflect.Type

type HttpNamespaceState added in v0.16.5

type HttpNamespaceState struct {
	// The ARN that Amazon Route 53 assigns to the namespace when you create it.
	Arn pulumi.StringPtrInput
	// The description that you specify for the namespace when you create it.
	Description pulumi.StringPtrInput
	// The name of the http namespace.
	Name pulumi.StringPtrInput
}

func (HttpNamespaceState) ElementType added in v1.19.0

func (HttpNamespaceState) ElementType() reflect.Type

type PrivateDnsNamespace

type PrivateDnsNamespace struct {
	pulumi.CustomResourceState

	// The ARN that Amazon Route 53 assigns to the namespace when you create it.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The description that you specify for the namespace when you create it.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The ID for the hosted zone that Amazon Route 53 creates when you create a namespace.
	HostedZone pulumi.StringOutput `pulumi:"hostedZone"`
	// The name of the namespace.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of VPC that you want to associate the namespace with.
	Vpc pulumi.StringOutput `pulumi:"vpc"`
}

Provides a Service Discovery Private DNS Namespace resource.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/service_discovery_private_dns_namespace.html.markdown.

func GetPrivateDnsNamespace

func GetPrivateDnsNamespace(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PrivateDnsNamespaceState, opts ...pulumi.ResourceOption) (*PrivateDnsNamespace, error)

GetPrivateDnsNamespace gets an existing PrivateDnsNamespace resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPrivateDnsNamespace

func NewPrivateDnsNamespace(ctx *pulumi.Context,
	name string, args *PrivateDnsNamespaceArgs, opts ...pulumi.ResourceOption) (*PrivateDnsNamespace, error)

NewPrivateDnsNamespace registers a new resource with the given unique name, arguments, and options.

type PrivateDnsNamespaceArgs

type PrivateDnsNamespaceArgs struct {
	// The description that you specify for the namespace when you create it.
	Description pulumi.StringPtrInput
	// The name of the namespace.
	Name pulumi.StringPtrInput
	// The ID of VPC that you want to associate the namespace with.
	Vpc pulumi.StringInput
}

The set of arguments for constructing a PrivateDnsNamespace resource.

func (PrivateDnsNamespaceArgs) ElementType added in v1.19.0

func (PrivateDnsNamespaceArgs) ElementType() reflect.Type

type PrivateDnsNamespaceState

type PrivateDnsNamespaceState struct {
	// The ARN that Amazon Route 53 assigns to the namespace when you create it.
	Arn pulumi.StringPtrInput
	// The description that you specify for the namespace when you create it.
	Description pulumi.StringPtrInput
	// The ID for the hosted zone that Amazon Route 53 creates when you create a namespace.
	HostedZone pulumi.StringPtrInput
	// The name of the namespace.
	Name pulumi.StringPtrInput
	// The ID of VPC that you want to associate the namespace with.
	Vpc pulumi.StringPtrInput
}

func (PrivateDnsNamespaceState) ElementType added in v1.19.0

func (PrivateDnsNamespaceState) ElementType() reflect.Type

type PublicDnsNamespace

type PublicDnsNamespace struct {
	pulumi.CustomResourceState

	// The ARN that Amazon Route 53 assigns to the namespace when you create it.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The description that you specify for the namespace when you create it.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The ID for the hosted zone that Amazon Route 53 creates when you create a namespace.
	HostedZone pulumi.StringOutput `pulumi:"hostedZone"`
	// The name of the namespace.
	Name pulumi.StringOutput `pulumi:"name"`
}

Provides a Service Discovery Public DNS Namespace resource.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/service_discovery_public_dns_namespace.html.markdown.

func GetPublicDnsNamespace

func GetPublicDnsNamespace(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PublicDnsNamespaceState, opts ...pulumi.ResourceOption) (*PublicDnsNamespace, error)

GetPublicDnsNamespace gets an existing PublicDnsNamespace resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPublicDnsNamespace

func NewPublicDnsNamespace(ctx *pulumi.Context,
	name string, args *PublicDnsNamespaceArgs, opts ...pulumi.ResourceOption) (*PublicDnsNamespace, error)

NewPublicDnsNamespace registers a new resource with the given unique name, arguments, and options.

type PublicDnsNamespaceArgs

type PublicDnsNamespaceArgs struct {
	// The description that you specify for the namespace when you create it.
	Description pulumi.StringPtrInput
	// The name of the namespace.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a PublicDnsNamespace resource.

func (PublicDnsNamespaceArgs) ElementType added in v1.19.0

func (PublicDnsNamespaceArgs) ElementType() reflect.Type

type PublicDnsNamespaceState

type PublicDnsNamespaceState struct {
	// The ARN that Amazon Route 53 assigns to the namespace when you create it.
	Arn pulumi.StringPtrInput
	// The description that you specify for the namespace when you create it.
	Description pulumi.StringPtrInput
	// The ID for the hosted zone that Amazon Route 53 creates when you create a namespace.
	HostedZone pulumi.StringPtrInput
	// The name of the namespace.
	Name pulumi.StringPtrInput
}

func (PublicDnsNamespaceState) ElementType added in v1.19.0

func (PublicDnsNamespaceState) ElementType() reflect.Type

type Service

type Service struct {
	pulumi.CustomResourceState

	// The ARN of the service.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The description of the service.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// A complex type that contains information about the resource record sets that you want Amazon Route 53 to create when you register an instance.
	DnsConfig ServiceDnsConfigPtrOutput `pulumi:"dnsConfig"`
	// A complex type that contains settings for an optional health check. Only for Public DNS namespaces.
	HealthCheckConfig ServiceHealthCheckConfigPtrOutput `pulumi:"healthCheckConfig"`
	// A complex type that contains settings for ECS managed health checks.
	HealthCheckCustomConfig ServiceHealthCheckCustomConfigPtrOutput `pulumi:"healthCheckCustomConfig"`
	// The name of the service.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the namespace to use for DNS configuration.
	NamespaceId pulumi.StringOutput `pulumi:"namespaceId"`
}

Provides a Service Discovery Service resource.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/service_discovery_service.html.markdown.

func GetService

func GetService(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceState, opts ...pulumi.ResourceOption) (*Service, error)

GetService gets an existing Service resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewService

func NewService(ctx *pulumi.Context,
	name string, args *ServiceArgs, opts ...pulumi.ResourceOption) (*Service, error)

NewService registers a new resource with the given unique name, arguments, and options.

type ServiceArgs

type ServiceArgs struct {
	// The description of the service.
	Description pulumi.StringPtrInput
	// A complex type that contains information about the resource record sets that you want Amazon Route 53 to create when you register an instance.
	DnsConfig ServiceDnsConfigPtrInput
	// A complex type that contains settings for an optional health check. Only for Public DNS namespaces.
	HealthCheckConfig ServiceHealthCheckConfigPtrInput
	// A complex type that contains settings for ECS managed health checks.
	HealthCheckCustomConfig ServiceHealthCheckCustomConfigPtrInput
	// The name of the service.
	Name pulumi.StringPtrInput
	// The ID of the namespace to use for DNS configuration.
	NamespaceId pulumi.StringPtrInput
}

The set of arguments for constructing a Service resource.

func (ServiceArgs) ElementType added in v1.19.0

func (ServiceArgs) ElementType() reflect.Type

type ServiceDnsConfig added in v1.19.0

type ServiceDnsConfig struct {
	// An array that contains one DnsRecord object for each resource record set.
	DnsRecords []ServiceDnsConfigDnsRecord `pulumi:"dnsRecords"`
	// The ID of the namespace to use for DNS configuration.
	NamespaceId string `pulumi:"namespaceId"`
	// The routing policy that you want to apply to all records that Route 53 creates when you register an instance and specify the service. Valid Values: MULTIVALUE, WEIGHTED
	RoutingPolicy *string `pulumi:"routingPolicy"`
}

type ServiceDnsConfigArgs added in v1.19.0

type ServiceDnsConfigArgs struct {
	// An array that contains one DnsRecord object for each resource record set.
	DnsRecords ServiceDnsConfigDnsRecordArrayInput `pulumi:"dnsRecords"`
	// The ID of the namespace to use for DNS configuration.
	NamespaceId pulumi.StringInput `pulumi:"namespaceId"`
	// The routing policy that you want to apply to all records that Route 53 creates when you register an instance and specify the service. Valid Values: MULTIVALUE, WEIGHTED
	RoutingPolicy pulumi.StringPtrInput `pulumi:"routingPolicy"`
}

func (ServiceDnsConfigArgs) ElementType added in v1.19.0

func (ServiceDnsConfigArgs) ElementType() reflect.Type

func (ServiceDnsConfigArgs) ToServiceDnsConfigOutput added in v1.19.0

func (i ServiceDnsConfigArgs) ToServiceDnsConfigOutput() ServiceDnsConfigOutput

func (ServiceDnsConfigArgs) ToServiceDnsConfigOutputWithContext added in v1.19.0

func (i ServiceDnsConfigArgs) ToServiceDnsConfigOutputWithContext(ctx context.Context) ServiceDnsConfigOutput

func (ServiceDnsConfigArgs) ToServiceDnsConfigPtrOutput added in v1.19.0

func (i ServiceDnsConfigArgs) ToServiceDnsConfigPtrOutput() ServiceDnsConfigPtrOutput

func (ServiceDnsConfigArgs) ToServiceDnsConfigPtrOutputWithContext added in v1.19.0

func (i ServiceDnsConfigArgs) ToServiceDnsConfigPtrOutputWithContext(ctx context.Context) ServiceDnsConfigPtrOutput

type ServiceDnsConfigDnsRecord added in v1.19.0

type ServiceDnsConfigDnsRecord struct {
	// The amount of time, in seconds, that you want DNS resolvers to cache the settings for this resource record set.
	Ttl int `pulumi:"ttl"`
	// The type of health check that you want to create, which indicates how Route 53 determines whether an endpoint is healthy. Valid Values: HTTP, HTTPS, TCP
	Type string `pulumi:"type"`
}

type ServiceDnsConfigDnsRecordArgs added in v1.19.0

type ServiceDnsConfigDnsRecordArgs struct {
	// The amount of time, in seconds, that you want DNS resolvers to cache the settings for this resource record set.
	Ttl pulumi.IntInput `pulumi:"ttl"`
	// The type of health check that you want to create, which indicates how Route 53 determines whether an endpoint is healthy. Valid Values: HTTP, HTTPS, TCP
	Type pulumi.StringInput `pulumi:"type"`
}

func (ServiceDnsConfigDnsRecordArgs) ElementType added in v1.19.0

func (ServiceDnsConfigDnsRecordArgs) ToServiceDnsConfigDnsRecordOutput added in v1.19.0

func (i ServiceDnsConfigDnsRecordArgs) ToServiceDnsConfigDnsRecordOutput() ServiceDnsConfigDnsRecordOutput

func (ServiceDnsConfigDnsRecordArgs) ToServiceDnsConfigDnsRecordOutputWithContext added in v1.19.0

func (i ServiceDnsConfigDnsRecordArgs) ToServiceDnsConfigDnsRecordOutputWithContext(ctx context.Context) ServiceDnsConfigDnsRecordOutput

type ServiceDnsConfigDnsRecordArray added in v1.19.0

type ServiceDnsConfigDnsRecordArray []ServiceDnsConfigDnsRecordInput

func (ServiceDnsConfigDnsRecordArray) ElementType added in v1.19.0

func (ServiceDnsConfigDnsRecordArray) ToServiceDnsConfigDnsRecordArrayOutput added in v1.19.0

func (i ServiceDnsConfigDnsRecordArray) ToServiceDnsConfigDnsRecordArrayOutput() ServiceDnsConfigDnsRecordArrayOutput

func (ServiceDnsConfigDnsRecordArray) ToServiceDnsConfigDnsRecordArrayOutputWithContext added in v1.19.0

func (i ServiceDnsConfigDnsRecordArray) ToServiceDnsConfigDnsRecordArrayOutputWithContext(ctx context.Context) ServiceDnsConfigDnsRecordArrayOutput

type ServiceDnsConfigDnsRecordArrayInput added in v1.19.0

type ServiceDnsConfigDnsRecordArrayInput interface {
	pulumi.Input

	ToServiceDnsConfigDnsRecordArrayOutput() ServiceDnsConfigDnsRecordArrayOutput
	ToServiceDnsConfigDnsRecordArrayOutputWithContext(context.Context) ServiceDnsConfigDnsRecordArrayOutput
}

type ServiceDnsConfigDnsRecordArrayOutput added in v1.19.0

type ServiceDnsConfigDnsRecordArrayOutput struct{ *pulumi.OutputState }

func (ServiceDnsConfigDnsRecordArrayOutput) ElementType added in v1.19.0

func (ServiceDnsConfigDnsRecordArrayOutput) Index added in v1.19.0

func (ServiceDnsConfigDnsRecordArrayOutput) ToServiceDnsConfigDnsRecordArrayOutput added in v1.19.0

func (o ServiceDnsConfigDnsRecordArrayOutput) ToServiceDnsConfigDnsRecordArrayOutput() ServiceDnsConfigDnsRecordArrayOutput

func (ServiceDnsConfigDnsRecordArrayOutput) ToServiceDnsConfigDnsRecordArrayOutputWithContext added in v1.19.0

func (o ServiceDnsConfigDnsRecordArrayOutput) ToServiceDnsConfigDnsRecordArrayOutputWithContext(ctx context.Context) ServiceDnsConfigDnsRecordArrayOutput

type ServiceDnsConfigDnsRecordInput added in v1.19.0

type ServiceDnsConfigDnsRecordInput interface {
	pulumi.Input

	ToServiceDnsConfigDnsRecordOutput() ServiceDnsConfigDnsRecordOutput
	ToServiceDnsConfigDnsRecordOutputWithContext(context.Context) ServiceDnsConfigDnsRecordOutput
}

type ServiceDnsConfigDnsRecordOutput added in v1.19.0

type ServiceDnsConfigDnsRecordOutput struct{ *pulumi.OutputState }

func (ServiceDnsConfigDnsRecordOutput) ElementType added in v1.19.0

func (ServiceDnsConfigDnsRecordOutput) ToServiceDnsConfigDnsRecordOutput added in v1.19.0

func (o ServiceDnsConfigDnsRecordOutput) ToServiceDnsConfigDnsRecordOutput() ServiceDnsConfigDnsRecordOutput

func (ServiceDnsConfigDnsRecordOutput) ToServiceDnsConfigDnsRecordOutputWithContext added in v1.19.0

func (o ServiceDnsConfigDnsRecordOutput) ToServiceDnsConfigDnsRecordOutputWithContext(ctx context.Context) ServiceDnsConfigDnsRecordOutput

func (ServiceDnsConfigDnsRecordOutput) Ttl added in v1.19.0

The amount of time, in seconds, that you want DNS resolvers to cache the settings for this resource record set.

func (ServiceDnsConfigDnsRecordOutput) Type added in v1.19.0

The type of health check that you want to create, which indicates how Route 53 determines whether an endpoint is healthy. Valid Values: HTTP, HTTPS, TCP

type ServiceDnsConfigInput added in v1.19.0

type ServiceDnsConfigInput interface {
	pulumi.Input

	ToServiceDnsConfigOutput() ServiceDnsConfigOutput
	ToServiceDnsConfigOutputWithContext(context.Context) ServiceDnsConfigOutput
}

type ServiceDnsConfigOutput added in v1.19.0

type ServiceDnsConfigOutput struct{ *pulumi.OutputState }

func (ServiceDnsConfigOutput) DnsRecords added in v1.19.0

An array that contains one DnsRecord object for each resource record set.

func (ServiceDnsConfigOutput) ElementType added in v1.19.0

func (ServiceDnsConfigOutput) ElementType() reflect.Type

func (ServiceDnsConfigOutput) NamespaceId added in v1.19.0

func (o ServiceDnsConfigOutput) NamespaceId() pulumi.StringOutput

The ID of the namespace to use for DNS configuration.

func (ServiceDnsConfigOutput) RoutingPolicy added in v1.19.0

func (o ServiceDnsConfigOutput) RoutingPolicy() pulumi.StringPtrOutput

The routing policy that you want to apply to all records that Route 53 creates when you register an instance and specify the service. Valid Values: MULTIVALUE, WEIGHTED

func (ServiceDnsConfigOutput) ToServiceDnsConfigOutput added in v1.19.0

func (o ServiceDnsConfigOutput) ToServiceDnsConfigOutput() ServiceDnsConfigOutput

func (ServiceDnsConfigOutput) ToServiceDnsConfigOutputWithContext added in v1.19.0

func (o ServiceDnsConfigOutput) ToServiceDnsConfigOutputWithContext(ctx context.Context) ServiceDnsConfigOutput

func (ServiceDnsConfigOutput) ToServiceDnsConfigPtrOutput added in v1.19.0

func (o ServiceDnsConfigOutput) ToServiceDnsConfigPtrOutput() ServiceDnsConfigPtrOutput

func (ServiceDnsConfigOutput) ToServiceDnsConfigPtrOutputWithContext added in v1.19.0

func (o ServiceDnsConfigOutput) ToServiceDnsConfigPtrOutputWithContext(ctx context.Context) ServiceDnsConfigPtrOutput

type ServiceDnsConfigPtrInput added in v1.19.0

type ServiceDnsConfigPtrInput interface {
	pulumi.Input

	ToServiceDnsConfigPtrOutput() ServiceDnsConfigPtrOutput
	ToServiceDnsConfigPtrOutputWithContext(context.Context) ServiceDnsConfigPtrOutput
}

func ServiceDnsConfigPtr added in v1.19.0

func ServiceDnsConfigPtr(v *ServiceDnsConfigArgs) ServiceDnsConfigPtrInput

type ServiceDnsConfigPtrOutput added in v1.19.0

type ServiceDnsConfigPtrOutput struct{ *pulumi.OutputState }

func (ServiceDnsConfigPtrOutput) DnsRecords added in v1.19.0

An array that contains one DnsRecord object for each resource record set.

func (ServiceDnsConfigPtrOutput) Elem added in v1.19.0

func (ServiceDnsConfigPtrOutput) ElementType added in v1.19.0

func (ServiceDnsConfigPtrOutput) ElementType() reflect.Type

func (ServiceDnsConfigPtrOutput) NamespaceId added in v1.19.0

The ID of the namespace to use for DNS configuration.

func (ServiceDnsConfigPtrOutput) RoutingPolicy added in v1.19.0

The routing policy that you want to apply to all records that Route 53 creates when you register an instance and specify the service. Valid Values: MULTIVALUE, WEIGHTED

func (ServiceDnsConfigPtrOutput) ToServiceDnsConfigPtrOutput added in v1.19.0

func (o ServiceDnsConfigPtrOutput) ToServiceDnsConfigPtrOutput() ServiceDnsConfigPtrOutput

func (ServiceDnsConfigPtrOutput) ToServiceDnsConfigPtrOutputWithContext added in v1.19.0

func (o ServiceDnsConfigPtrOutput) ToServiceDnsConfigPtrOutputWithContext(ctx context.Context) ServiceDnsConfigPtrOutput

type ServiceHealthCheckConfig added in v1.19.0

type ServiceHealthCheckConfig struct {
	// The number of 30-second intervals that you want service discovery to wait before it changes the health status of a service instance.  Maximum value of 10.
	FailureThreshold *int `pulumi:"failureThreshold"`
	// The path that you want Route 53 to request when performing health checks. Route 53 automatically adds the DNS name for the service. If you don't specify a value, the default value is /.
	ResourcePath *string `pulumi:"resourcePath"`
	// The type of health check that you want to create, which indicates how Route 53 determines whether an endpoint is healthy. Valid Values: HTTP, HTTPS, TCP
	Type *string `pulumi:"type"`
}

type ServiceHealthCheckConfigArgs added in v1.19.0

type ServiceHealthCheckConfigArgs struct {
	// The number of 30-second intervals that you want service discovery to wait before it changes the health status of a service instance.  Maximum value of 10.
	FailureThreshold pulumi.IntPtrInput `pulumi:"failureThreshold"`
	// The path that you want Route 53 to request when performing health checks. Route 53 automatically adds the DNS name for the service. If you don't specify a value, the default value is /.
	ResourcePath pulumi.StringPtrInput `pulumi:"resourcePath"`
	// The type of health check that you want to create, which indicates how Route 53 determines whether an endpoint is healthy. Valid Values: HTTP, HTTPS, TCP
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ServiceHealthCheckConfigArgs) ElementType added in v1.19.0

func (ServiceHealthCheckConfigArgs) ToServiceHealthCheckConfigOutput added in v1.19.0

func (i ServiceHealthCheckConfigArgs) ToServiceHealthCheckConfigOutput() ServiceHealthCheckConfigOutput

func (ServiceHealthCheckConfigArgs) ToServiceHealthCheckConfigOutputWithContext added in v1.19.0

func (i ServiceHealthCheckConfigArgs) ToServiceHealthCheckConfigOutputWithContext(ctx context.Context) ServiceHealthCheckConfigOutput

func (ServiceHealthCheckConfigArgs) ToServiceHealthCheckConfigPtrOutput added in v1.19.0

func (i ServiceHealthCheckConfigArgs) ToServiceHealthCheckConfigPtrOutput() ServiceHealthCheckConfigPtrOutput

func (ServiceHealthCheckConfigArgs) ToServiceHealthCheckConfigPtrOutputWithContext added in v1.19.0

func (i ServiceHealthCheckConfigArgs) ToServiceHealthCheckConfigPtrOutputWithContext(ctx context.Context) ServiceHealthCheckConfigPtrOutput

type ServiceHealthCheckConfigInput added in v1.19.0

type ServiceHealthCheckConfigInput interface {
	pulumi.Input

	ToServiceHealthCheckConfigOutput() ServiceHealthCheckConfigOutput
	ToServiceHealthCheckConfigOutputWithContext(context.Context) ServiceHealthCheckConfigOutput
}

type ServiceHealthCheckConfigOutput added in v1.19.0

type ServiceHealthCheckConfigOutput struct{ *pulumi.OutputState }

func (ServiceHealthCheckConfigOutput) ElementType added in v1.19.0

func (ServiceHealthCheckConfigOutput) FailureThreshold added in v1.19.0

func (o ServiceHealthCheckConfigOutput) FailureThreshold() pulumi.IntPtrOutput

The number of 30-second intervals that you want service discovery to wait before it changes the health status of a service instance. Maximum value of 10.

func (ServiceHealthCheckConfigOutput) ResourcePath added in v1.19.0

The path that you want Route 53 to request when performing health checks. Route 53 automatically adds the DNS name for the service. If you don't specify a value, the default value is /.

func (ServiceHealthCheckConfigOutput) ToServiceHealthCheckConfigOutput added in v1.19.0

func (o ServiceHealthCheckConfigOutput) ToServiceHealthCheckConfigOutput() ServiceHealthCheckConfigOutput

func (ServiceHealthCheckConfigOutput) ToServiceHealthCheckConfigOutputWithContext added in v1.19.0

func (o ServiceHealthCheckConfigOutput) ToServiceHealthCheckConfigOutputWithContext(ctx context.Context) ServiceHealthCheckConfigOutput

func (ServiceHealthCheckConfigOutput) ToServiceHealthCheckConfigPtrOutput added in v1.19.0

func (o ServiceHealthCheckConfigOutput) ToServiceHealthCheckConfigPtrOutput() ServiceHealthCheckConfigPtrOutput

func (ServiceHealthCheckConfigOutput) ToServiceHealthCheckConfigPtrOutputWithContext added in v1.19.0

func (o ServiceHealthCheckConfigOutput) ToServiceHealthCheckConfigPtrOutputWithContext(ctx context.Context) ServiceHealthCheckConfigPtrOutput

func (ServiceHealthCheckConfigOutput) Type added in v1.19.0

The type of health check that you want to create, which indicates how Route 53 determines whether an endpoint is healthy. Valid Values: HTTP, HTTPS, TCP

type ServiceHealthCheckConfigPtrInput added in v1.19.0

type ServiceHealthCheckConfigPtrInput interface {
	pulumi.Input

	ToServiceHealthCheckConfigPtrOutput() ServiceHealthCheckConfigPtrOutput
	ToServiceHealthCheckConfigPtrOutputWithContext(context.Context) ServiceHealthCheckConfigPtrOutput
}

func ServiceHealthCheckConfigPtr added in v1.19.0

func ServiceHealthCheckConfigPtr(v *ServiceHealthCheckConfigArgs) ServiceHealthCheckConfigPtrInput

type ServiceHealthCheckConfigPtrOutput added in v1.19.0

type ServiceHealthCheckConfigPtrOutput struct{ *pulumi.OutputState }

func (ServiceHealthCheckConfigPtrOutput) Elem added in v1.19.0

func (ServiceHealthCheckConfigPtrOutput) ElementType added in v1.19.0

func (ServiceHealthCheckConfigPtrOutput) FailureThreshold added in v1.19.0

The number of 30-second intervals that you want service discovery to wait before it changes the health status of a service instance. Maximum value of 10.

func (ServiceHealthCheckConfigPtrOutput) ResourcePath added in v1.19.0

The path that you want Route 53 to request when performing health checks. Route 53 automatically adds the DNS name for the service. If you don't specify a value, the default value is /.

func (ServiceHealthCheckConfigPtrOutput) ToServiceHealthCheckConfigPtrOutput added in v1.19.0

func (o ServiceHealthCheckConfigPtrOutput) ToServiceHealthCheckConfigPtrOutput() ServiceHealthCheckConfigPtrOutput

func (ServiceHealthCheckConfigPtrOutput) ToServiceHealthCheckConfigPtrOutputWithContext added in v1.19.0

func (o ServiceHealthCheckConfigPtrOutput) ToServiceHealthCheckConfigPtrOutputWithContext(ctx context.Context) ServiceHealthCheckConfigPtrOutput

func (ServiceHealthCheckConfigPtrOutput) Type added in v1.19.0

The type of health check that you want to create, which indicates how Route 53 determines whether an endpoint is healthy. Valid Values: HTTP, HTTPS, TCP

type ServiceHealthCheckCustomConfig added in v1.19.0

type ServiceHealthCheckCustomConfig struct {
	// The number of 30-second intervals that you want service discovery to wait before it changes the health status of a service instance.  Maximum value of 10.
	FailureThreshold *int `pulumi:"failureThreshold"`
}

type ServiceHealthCheckCustomConfigArgs added in v1.19.0

type ServiceHealthCheckCustomConfigArgs struct {
	// The number of 30-second intervals that you want service discovery to wait before it changes the health status of a service instance.  Maximum value of 10.
	FailureThreshold pulumi.IntPtrInput `pulumi:"failureThreshold"`
}

func (ServiceHealthCheckCustomConfigArgs) ElementType added in v1.19.0

func (ServiceHealthCheckCustomConfigArgs) ToServiceHealthCheckCustomConfigOutput added in v1.19.0

func (i ServiceHealthCheckCustomConfigArgs) ToServiceHealthCheckCustomConfigOutput() ServiceHealthCheckCustomConfigOutput

func (ServiceHealthCheckCustomConfigArgs) ToServiceHealthCheckCustomConfigOutputWithContext added in v1.19.0

func (i ServiceHealthCheckCustomConfigArgs) ToServiceHealthCheckCustomConfigOutputWithContext(ctx context.Context) ServiceHealthCheckCustomConfigOutput

func (ServiceHealthCheckCustomConfigArgs) ToServiceHealthCheckCustomConfigPtrOutput added in v1.19.0

func (i ServiceHealthCheckCustomConfigArgs) ToServiceHealthCheckCustomConfigPtrOutput() ServiceHealthCheckCustomConfigPtrOutput

func (ServiceHealthCheckCustomConfigArgs) ToServiceHealthCheckCustomConfigPtrOutputWithContext added in v1.19.0

func (i ServiceHealthCheckCustomConfigArgs) ToServiceHealthCheckCustomConfigPtrOutputWithContext(ctx context.Context) ServiceHealthCheckCustomConfigPtrOutput

type ServiceHealthCheckCustomConfigInput added in v1.19.0

type ServiceHealthCheckCustomConfigInput interface {
	pulumi.Input

	ToServiceHealthCheckCustomConfigOutput() ServiceHealthCheckCustomConfigOutput
	ToServiceHealthCheckCustomConfigOutputWithContext(context.Context) ServiceHealthCheckCustomConfigOutput
}

type ServiceHealthCheckCustomConfigOutput added in v1.19.0

type ServiceHealthCheckCustomConfigOutput struct{ *pulumi.OutputState }

func (ServiceHealthCheckCustomConfigOutput) ElementType added in v1.19.0

func (ServiceHealthCheckCustomConfigOutput) FailureThreshold added in v1.19.0

The number of 30-second intervals that you want service discovery to wait before it changes the health status of a service instance. Maximum value of 10.

func (ServiceHealthCheckCustomConfigOutput) ToServiceHealthCheckCustomConfigOutput added in v1.19.0

func (o ServiceHealthCheckCustomConfigOutput) ToServiceHealthCheckCustomConfigOutput() ServiceHealthCheckCustomConfigOutput

func (ServiceHealthCheckCustomConfigOutput) ToServiceHealthCheckCustomConfigOutputWithContext added in v1.19.0

func (o ServiceHealthCheckCustomConfigOutput) ToServiceHealthCheckCustomConfigOutputWithContext(ctx context.Context) ServiceHealthCheckCustomConfigOutput

func (ServiceHealthCheckCustomConfigOutput) ToServiceHealthCheckCustomConfigPtrOutput added in v1.19.0

func (o ServiceHealthCheckCustomConfigOutput) ToServiceHealthCheckCustomConfigPtrOutput() ServiceHealthCheckCustomConfigPtrOutput

func (ServiceHealthCheckCustomConfigOutput) ToServiceHealthCheckCustomConfigPtrOutputWithContext added in v1.19.0

func (o ServiceHealthCheckCustomConfigOutput) ToServiceHealthCheckCustomConfigPtrOutputWithContext(ctx context.Context) ServiceHealthCheckCustomConfigPtrOutput

type ServiceHealthCheckCustomConfigPtrInput added in v1.19.0

type ServiceHealthCheckCustomConfigPtrInput interface {
	pulumi.Input

	ToServiceHealthCheckCustomConfigPtrOutput() ServiceHealthCheckCustomConfigPtrOutput
	ToServiceHealthCheckCustomConfigPtrOutputWithContext(context.Context) ServiceHealthCheckCustomConfigPtrOutput
}

type ServiceHealthCheckCustomConfigPtrOutput added in v1.19.0

type ServiceHealthCheckCustomConfigPtrOutput struct{ *pulumi.OutputState }

func (ServiceHealthCheckCustomConfigPtrOutput) Elem added in v1.19.0

func (ServiceHealthCheckCustomConfigPtrOutput) ElementType added in v1.19.0

func (ServiceHealthCheckCustomConfigPtrOutput) FailureThreshold added in v1.19.0

The number of 30-second intervals that you want service discovery to wait before it changes the health status of a service instance. Maximum value of 10.

func (ServiceHealthCheckCustomConfigPtrOutput) ToServiceHealthCheckCustomConfigPtrOutput added in v1.19.0

func (o ServiceHealthCheckCustomConfigPtrOutput) ToServiceHealthCheckCustomConfigPtrOutput() ServiceHealthCheckCustomConfigPtrOutput

func (ServiceHealthCheckCustomConfigPtrOutput) ToServiceHealthCheckCustomConfigPtrOutputWithContext added in v1.19.0

func (o ServiceHealthCheckCustomConfigPtrOutput) ToServiceHealthCheckCustomConfigPtrOutputWithContext(ctx context.Context) ServiceHealthCheckCustomConfigPtrOutput

type ServiceState

type ServiceState struct {
	// The ARN of the service.
	Arn pulumi.StringPtrInput
	// The description of the service.
	Description pulumi.StringPtrInput
	// A complex type that contains information about the resource record sets that you want Amazon Route 53 to create when you register an instance.
	DnsConfig ServiceDnsConfigPtrInput
	// A complex type that contains settings for an optional health check. Only for Public DNS namespaces.
	HealthCheckConfig ServiceHealthCheckConfigPtrInput
	// A complex type that contains settings for ECS managed health checks.
	HealthCheckCustomConfig ServiceHealthCheckCustomConfigPtrInput
	// The name of the service.
	Name pulumi.StringPtrInput
	// The ID of the namespace to use for DNS configuration.
	NamespaceId pulumi.StringPtrInput
}

func (ServiceState) ElementType added in v1.19.0

func (ServiceState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL