Documentation ¶
Index ¶
- type GetDnsNamespaceArgs
- type GetDnsNamespaceOutputArgs
- type GetDnsNamespaceResult
- type GetDnsNamespaceResultOutput
- func (o GetDnsNamespaceResultOutput) Arn() pulumi.StringOutput
- func (o GetDnsNamespaceResultOutput) Description() pulumi.StringOutput
- func (GetDnsNamespaceResultOutput) ElementType() reflect.Type
- func (o GetDnsNamespaceResultOutput) HostedZone() pulumi.StringOutput
- func (o GetDnsNamespaceResultOutput) Id() pulumi.StringOutput
- func (o GetDnsNamespaceResultOutput) Name() pulumi.StringOutput
- func (o GetDnsNamespaceResultOutput) Tags() pulumi.StringMapOutput
- func (o GetDnsNamespaceResultOutput) ToGetDnsNamespaceResultOutput() GetDnsNamespaceResultOutput
- func (o GetDnsNamespaceResultOutput) ToGetDnsNamespaceResultOutputWithContext(ctx context.Context) GetDnsNamespaceResultOutput
- func (o GetDnsNamespaceResultOutput) Type() pulumi.StringOutput
- type GetServiceDnsConfig
- type GetServiceDnsConfigArgs
- type GetServiceDnsConfigArray
- type GetServiceDnsConfigArrayInput
- type GetServiceDnsConfigArrayOutput
- func (GetServiceDnsConfigArrayOutput) ElementType() reflect.Type
- func (o GetServiceDnsConfigArrayOutput) Index(i pulumi.IntInput) GetServiceDnsConfigOutput
- func (o GetServiceDnsConfigArrayOutput) ToGetServiceDnsConfigArrayOutput() GetServiceDnsConfigArrayOutput
- func (o GetServiceDnsConfigArrayOutput) ToGetServiceDnsConfigArrayOutputWithContext(ctx context.Context) GetServiceDnsConfigArrayOutput
- type GetServiceDnsConfigDnsRecord
- type GetServiceDnsConfigDnsRecordArgs
- func (GetServiceDnsConfigDnsRecordArgs) ElementType() reflect.Type
- func (i GetServiceDnsConfigDnsRecordArgs) ToGetServiceDnsConfigDnsRecordOutput() GetServiceDnsConfigDnsRecordOutput
- func (i GetServiceDnsConfigDnsRecordArgs) ToGetServiceDnsConfigDnsRecordOutputWithContext(ctx context.Context) GetServiceDnsConfigDnsRecordOutput
- type GetServiceDnsConfigDnsRecordArray
- func (GetServiceDnsConfigDnsRecordArray) ElementType() reflect.Type
- func (i GetServiceDnsConfigDnsRecordArray) ToGetServiceDnsConfigDnsRecordArrayOutput() GetServiceDnsConfigDnsRecordArrayOutput
- func (i GetServiceDnsConfigDnsRecordArray) ToGetServiceDnsConfigDnsRecordArrayOutputWithContext(ctx context.Context) GetServiceDnsConfigDnsRecordArrayOutput
- type GetServiceDnsConfigDnsRecordArrayInput
- type GetServiceDnsConfigDnsRecordArrayOutput
- func (GetServiceDnsConfigDnsRecordArrayOutput) ElementType() reflect.Type
- func (o GetServiceDnsConfigDnsRecordArrayOutput) Index(i pulumi.IntInput) GetServiceDnsConfigDnsRecordOutput
- func (o GetServiceDnsConfigDnsRecordArrayOutput) ToGetServiceDnsConfigDnsRecordArrayOutput() GetServiceDnsConfigDnsRecordArrayOutput
- func (o GetServiceDnsConfigDnsRecordArrayOutput) ToGetServiceDnsConfigDnsRecordArrayOutputWithContext(ctx context.Context) GetServiceDnsConfigDnsRecordArrayOutput
- type GetServiceDnsConfigDnsRecordInput
- type GetServiceDnsConfigDnsRecordOutput
- func (GetServiceDnsConfigDnsRecordOutput) ElementType() reflect.Type
- func (o GetServiceDnsConfigDnsRecordOutput) ToGetServiceDnsConfigDnsRecordOutput() GetServiceDnsConfigDnsRecordOutput
- func (o GetServiceDnsConfigDnsRecordOutput) ToGetServiceDnsConfigDnsRecordOutputWithContext(ctx context.Context) GetServiceDnsConfigDnsRecordOutput
- func (o GetServiceDnsConfigDnsRecordOutput) Ttl() pulumi.IntOutput
- func (o GetServiceDnsConfigDnsRecordOutput) Type() pulumi.StringOutput
- type GetServiceDnsConfigInput
- type GetServiceDnsConfigOutput
- func (o GetServiceDnsConfigOutput) DnsRecords() GetServiceDnsConfigDnsRecordArrayOutput
- func (GetServiceDnsConfigOutput) ElementType() reflect.Type
- func (o GetServiceDnsConfigOutput) NamespaceId() pulumi.StringOutput
- func (o GetServiceDnsConfigOutput) RoutingPolicy() pulumi.StringOutput
- func (o GetServiceDnsConfigOutput) ToGetServiceDnsConfigOutput() GetServiceDnsConfigOutput
- func (o GetServiceDnsConfigOutput) ToGetServiceDnsConfigOutputWithContext(ctx context.Context) GetServiceDnsConfigOutput
- type GetServiceHealthCheckConfig
- type GetServiceHealthCheckConfigArgs
- func (GetServiceHealthCheckConfigArgs) ElementType() reflect.Type
- func (i GetServiceHealthCheckConfigArgs) ToGetServiceHealthCheckConfigOutput() GetServiceHealthCheckConfigOutput
- func (i GetServiceHealthCheckConfigArgs) ToGetServiceHealthCheckConfigOutputWithContext(ctx context.Context) GetServiceHealthCheckConfigOutput
- type GetServiceHealthCheckConfigArray
- func (GetServiceHealthCheckConfigArray) ElementType() reflect.Type
- func (i GetServiceHealthCheckConfigArray) ToGetServiceHealthCheckConfigArrayOutput() GetServiceHealthCheckConfigArrayOutput
- func (i GetServiceHealthCheckConfigArray) ToGetServiceHealthCheckConfigArrayOutputWithContext(ctx context.Context) GetServiceHealthCheckConfigArrayOutput
- type GetServiceHealthCheckConfigArrayInput
- type GetServiceHealthCheckConfigArrayOutput
- func (GetServiceHealthCheckConfigArrayOutput) ElementType() reflect.Type
- func (o GetServiceHealthCheckConfigArrayOutput) Index(i pulumi.IntInput) GetServiceHealthCheckConfigOutput
- func (o GetServiceHealthCheckConfigArrayOutput) ToGetServiceHealthCheckConfigArrayOutput() GetServiceHealthCheckConfigArrayOutput
- func (o GetServiceHealthCheckConfigArrayOutput) ToGetServiceHealthCheckConfigArrayOutputWithContext(ctx context.Context) GetServiceHealthCheckConfigArrayOutput
- type GetServiceHealthCheckConfigInput
- type GetServiceHealthCheckConfigOutput
- func (GetServiceHealthCheckConfigOutput) ElementType() reflect.Type
- func (o GetServiceHealthCheckConfigOutput) FailureThreshold() pulumi.IntOutput
- func (o GetServiceHealthCheckConfigOutput) ResourcePath() pulumi.StringOutput
- func (o GetServiceHealthCheckConfigOutput) ToGetServiceHealthCheckConfigOutput() GetServiceHealthCheckConfigOutput
- func (o GetServiceHealthCheckConfigOutput) ToGetServiceHealthCheckConfigOutputWithContext(ctx context.Context) GetServiceHealthCheckConfigOutput
- func (o GetServiceHealthCheckConfigOutput) Type() pulumi.StringOutput
- type GetServiceHealthCheckCustomConfig
- type GetServiceHealthCheckCustomConfigArgs
- func (GetServiceHealthCheckCustomConfigArgs) ElementType() reflect.Type
- func (i GetServiceHealthCheckCustomConfigArgs) ToGetServiceHealthCheckCustomConfigOutput() GetServiceHealthCheckCustomConfigOutput
- func (i GetServiceHealthCheckCustomConfigArgs) ToGetServiceHealthCheckCustomConfigOutputWithContext(ctx context.Context) GetServiceHealthCheckCustomConfigOutput
- type GetServiceHealthCheckCustomConfigArray
- func (GetServiceHealthCheckCustomConfigArray) ElementType() reflect.Type
- func (i GetServiceHealthCheckCustomConfigArray) ToGetServiceHealthCheckCustomConfigArrayOutput() GetServiceHealthCheckCustomConfigArrayOutput
- func (i GetServiceHealthCheckCustomConfigArray) ToGetServiceHealthCheckCustomConfigArrayOutputWithContext(ctx context.Context) GetServiceHealthCheckCustomConfigArrayOutput
- type GetServiceHealthCheckCustomConfigArrayInput
- type GetServiceHealthCheckCustomConfigArrayOutput
- func (GetServiceHealthCheckCustomConfigArrayOutput) ElementType() reflect.Type
- func (o GetServiceHealthCheckCustomConfigArrayOutput) Index(i pulumi.IntInput) GetServiceHealthCheckCustomConfigOutput
- func (o GetServiceHealthCheckCustomConfigArrayOutput) ToGetServiceHealthCheckCustomConfigArrayOutput() GetServiceHealthCheckCustomConfigArrayOutput
- func (o GetServiceHealthCheckCustomConfigArrayOutput) ToGetServiceHealthCheckCustomConfigArrayOutputWithContext(ctx context.Context) GetServiceHealthCheckCustomConfigArrayOutput
- type GetServiceHealthCheckCustomConfigInput
- type GetServiceHealthCheckCustomConfigOutput
- func (GetServiceHealthCheckCustomConfigOutput) ElementType() reflect.Type
- func (o GetServiceHealthCheckCustomConfigOutput) FailureThreshold() pulumi.IntOutput
- func (o GetServiceHealthCheckCustomConfigOutput) ToGetServiceHealthCheckCustomConfigOutput() GetServiceHealthCheckCustomConfigOutput
- func (o GetServiceHealthCheckCustomConfigOutput) ToGetServiceHealthCheckCustomConfigOutputWithContext(ctx context.Context) GetServiceHealthCheckCustomConfigOutput
- type HttpNamespace
- type HttpNamespaceArgs
- type HttpNamespaceArray
- type HttpNamespaceArrayInput
- type HttpNamespaceArrayOutput
- func (HttpNamespaceArrayOutput) ElementType() reflect.Type
- func (o HttpNamespaceArrayOutput) Index(i pulumi.IntInput) HttpNamespaceOutput
- func (o HttpNamespaceArrayOutput) ToHttpNamespaceArrayOutput() HttpNamespaceArrayOutput
- func (o HttpNamespaceArrayOutput) ToHttpNamespaceArrayOutputWithContext(ctx context.Context) HttpNamespaceArrayOutput
- type HttpNamespaceInput
- type HttpNamespaceMap
- type HttpNamespaceMapInput
- type HttpNamespaceMapOutput
- func (HttpNamespaceMapOutput) ElementType() reflect.Type
- func (o HttpNamespaceMapOutput) MapIndex(k pulumi.StringInput) HttpNamespaceOutput
- func (o HttpNamespaceMapOutput) ToHttpNamespaceMapOutput() HttpNamespaceMapOutput
- func (o HttpNamespaceMapOutput) ToHttpNamespaceMapOutputWithContext(ctx context.Context) HttpNamespaceMapOutput
- type HttpNamespaceOutput
- func (o HttpNamespaceOutput) Arn() pulumi.StringOutput
- func (o HttpNamespaceOutput) Description() pulumi.StringPtrOutput
- func (HttpNamespaceOutput) ElementType() reflect.Type
- func (o HttpNamespaceOutput) HttpName() pulumi.StringOutput
- func (o HttpNamespaceOutput) Name() pulumi.StringOutput
- func (o HttpNamespaceOutput) Tags() pulumi.StringMapOutput
- func (o HttpNamespaceOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o HttpNamespaceOutput) ToHttpNamespaceOutput() HttpNamespaceOutput
- func (o HttpNamespaceOutput) ToHttpNamespaceOutputWithContext(ctx context.Context) HttpNamespaceOutput
- type HttpNamespaceState
- type Instance
- type InstanceArgs
- type InstanceArray
- type InstanceArrayInput
- type InstanceArrayOutput
- type InstanceInput
- type InstanceMap
- type InstanceMapInput
- type InstanceMapOutput
- type InstanceOutput
- func (o InstanceOutput) Attributes() pulumi.StringMapOutput
- func (InstanceOutput) ElementType() reflect.Type
- func (o InstanceOutput) InstanceId() pulumi.StringOutput
- func (o InstanceOutput) ServiceId() pulumi.StringOutput
- func (o InstanceOutput) ToInstanceOutput() InstanceOutput
- func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
- type InstanceState
- type LookupHttpNamespaceArgs
- type LookupHttpNamespaceOutputArgs
- type LookupHttpNamespaceResult
- type LookupHttpNamespaceResultOutput
- func (o LookupHttpNamespaceResultOutput) Arn() pulumi.StringOutput
- func (o LookupHttpNamespaceResultOutput) Description() pulumi.StringOutput
- func (LookupHttpNamespaceResultOutput) ElementType() reflect.Type
- func (o LookupHttpNamespaceResultOutput) HttpName() pulumi.StringOutput
- func (o LookupHttpNamespaceResultOutput) Id() pulumi.StringOutput
- func (o LookupHttpNamespaceResultOutput) Name() pulumi.StringOutput
- func (o LookupHttpNamespaceResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupHttpNamespaceResultOutput) ToLookupHttpNamespaceResultOutput() LookupHttpNamespaceResultOutput
- func (o LookupHttpNamespaceResultOutput) ToLookupHttpNamespaceResultOutputWithContext(ctx context.Context) LookupHttpNamespaceResultOutput
- type LookupServiceArgs
- type LookupServiceOutputArgs
- type LookupServiceResult
- type LookupServiceResultOutput
- func (o LookupServiceResultOutput) Arn() pulumi.StringOutput
- func (o LookupServiceResultOutput) Description() pulumi.StringOutput
- func (o LookupServiceResultOutput) DnsConfigs() GetServiceDnsConfigArrayOutput
- func (LookupServiceResultOutput) ElementType() reflect.Type
- func (o LookupServiceResultOutput) HealthCheckConfigs() GetServiceHealthCheckConfigArrayOutput
- func (o LookupServiceResultOutput) HealthCheckCustomConfigs() GetServiceHealthCheckCustomConfigArrayOutput
- func (o LookupServiceResultOutput) Id() pulumi.StringOutput
- func (o LookupServiceResultOutput) Name() pulumi.StringOutput
- func (o LookupServiceResultOutput) NamespaceId() pulumi.StringOutput
- func (o LookupServiceResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupServiceResultOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o LookupServiceResultOutput) ToLookupServiceResultOutput() LookupServiceResultOutput
- func (o LookupServiceResultOutput) ToLookupServiceResultOutputWithContext(ctx context.Context) LookupServiceResultOutput
- type PrivateDnsNamespace
- type PrivateDnsNamespaceArgs
- type PrivateDnsNamespaceArray
- type PrivateDnsNamespaceArrayInput
- type PrivateDnsNamespaceArrayOutput
- func (PrivateDnsNamespaceArrayOutput) ElementType() reflect.Type
- func (o PrivateDnsNamespaceArrayOutput) Index(i pulumi.IntInput) PrivateDnsNamespaceOutput
- func (o PrivateDnsNamespaceArrayOutput) ToPrivateDnsNamespaceArrayOutput() PrivateDnsNamespaceArrayOutput
- func (o PrivateDnsNamespaceArrayOutput) ToPrivateDnsNamespaceArrayOutputWithContext(ctx context.Context) PrivateDnsNamespaceArrayOutput
- type PrivateDnsNamespaceInput
- type PrivateDnsNamespaceMap
- type PrivateDnsNamespaceMapInput
- type PrivateDnsNamespaceMapOutput
- func (PrivateDnsNamespaceMapOutput) ElementType() reflect.Type
- func (o PrivateDnsNamespaceMapOutput) MapIndex(k pulumi.StringInput) PrivateDnsNamespaceOutput
- func (o PrivateDnsNamespaceMapOutput) ToPrivateDnsNamespaceMapOutput() PrivateDnsNamespaceMapOutput
- func (o PrivateDnsNamespaceMapOutput) ToPrivateDnsNamespaceMapOutputWithContext(ctx context.Context) PrivateDnsNamespaceMapOutput
- type PrivateDnsNamespaceOutput
- func (o PrivateDnsNamespaceOutput) Arn() pulumi.StringOutput
- func (o PrivateDnsNamespaceOutput) Description() pulumi.StringPtrOutput
- func (PrivateDnsNamespaceOutput) ElementType() reflect.Type
- func (o PrivateDnsNamespaceOutput) HostedZone() pulumi.StringOutput
- func (o PrivateDnsNamespaceOutput) Name() pulumi.StringOutput
- func (o PrivateDnsNamespaceOutput) Tags() pulumi.StringMapOutput
- func (o PrivateDnsNamespaceOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o PrivateDnsNamespaceOutput) ToPrivateDnsNamespaceOutput() PrivateDnsNamespaceOutput
- func (o PrivateDnsNamespaceOutput) ToPrivateDnsNamespaceOutputWithContext(ctx context.Context) PrivateDnsNamespaceOutput
- func (o PrivateDnsNamespaceOutput) Vpc() pulumi.StringOutput
- type PrivateDnsNamespaceState
- type PublicDnsNamespace
- type PublicDnsNamespaceArgs
- type PublicDnsNamespaceArray
- type PublicDnsNamespaceArrayInput
- type PublicDnsNamespaceArrayOutput
- func (PublicDnsNamespaceArrayOutput) ElementType() reflect.Type
- func (o PublicDnsNamespaceArrayOutput) Index(i pulumi.IntInput) PublicDnsNamespaceOutput
- func (o PublicDnsNamespaceArrayOutput) ToPublicDnsNamespaceArrayOutput() PublicDnsNamespaceArrayOutput
- func (o PublicDnsNamespaceArrayOutput) ToPublicDnsNamespaceArrayOutputWithContext(ctx context.Context) PublicDnsNamespaceArrayOutput
- type PublicDnsNamespaceInput
- type PublicDnsNamespaceMap
- type PublicDnsNamespaceMapInput
- type PublicDnsNamespaceMapOutput
- func (PublicDnsNamespaceMapOutput) ElementType() reflect.Type
- func (o PublicDnsNamespaceMapOutput) MapIndex(k pulumi.StringInput) PublicDnsNamespaceOutput
- func (o PublicDnsNamespaceMapOutput) ToPublicDnsNamespaceMapOutput() PublicDnsNamespaceMapOutput
- func (o PublicDnsNamespaceMapOutput) ToPublicDnsNamespaceMapOutputWithContext(ctx context.Context) PublicDnsNamespaceMapOutput
- type PublicDnsNamespaceOutput
- func (o PublicDnsNamespaceOutput) Arn() pulumi.StringOutput
- func (o PublicDnsNamespaceOutput) Description() pulumi.StringPtrOutput
- func (PublicDnsNamespaceOutput) ElementType() reflect.Type
- func (o PublicDnsNamespaceOutput) HostedZone() pulumi.StringOutput
- func (o PublicDnsNamespaceOutput) Name() pulumi.StringOutput
- func (o PublicDnsNamespaceOutput) Tags() pulumi.StringMapOutput
- func (o PublicDnsNamespaceOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o PublicDnsNamespaceOutput) ToPublicDnsNamespaceOutput() PublicDnsNamespaceOutput
- func (o PublicDnsNamespaceOutput) ToPublicDnsNamespaceOutputWithContext(ctx context.Context) PublicDnsNamespaceOutput
- type PublicDnsNamespaceState
- type Service
- type ServiceArgs
- type ServiceArray
- type ServiceArrayInput
- type ServiceArrayOutput
- type ServiceDnsConfig
- type ServiceDnsConfigArgs
- func (ServiceDnsConfigArgs) ElementType() reflect.Type
- func (i ServiceDnsConfigArgs) ToServiceDnsConfigOutput() ServiceDnsConfigOutput
- func (i ServiceDnsConfigArgs) ToServiceDnsConfigOutputWithContext(ctx context.Context) ServiceDnsConfigOutput
- func (i ServiceDnsConfigArgs) ToServiceDnsConfigPtrOutput() ServiceDnsConfigPtrOutput
- func (i ServiceDnsConfigArgs) ToServiceDnsConfigPtrOutputWithContext(ctx context.Context) ServiceDnsConfigPtrOutput
- type ServiceDnsConfigDnsRecord
- type ServiceDnsConfigDnsRecordArgs
- func (ServiceDnsConfigDnsRecordArgs) ElementType() reflect.Type
- func (i ServiceDnsConfigDnsRecordArgs) ToServiceDnsConfigDnsRecordOutput() ServiceDnsConfigDnsRecordOutput
- func (i ServiceDnsConfigDnsRecordArgs) ToServiceDnsConfigDnsRecordOutputWithContext(ctx context.Context) ServiceDnsConfigDnsRecordOutput
- type ServiceDnsConfigDnsRecordArray
- func (ServiceDnsConfigDnsRecordArray) ElementType() reflect.Type
- func (i ServiceDnsConfigDnsRecordArray) ToServiceDnsConfigDnsRecordArrayOutput() ServiceDnsConfigDnsRecordArrayOutput
- func (i ServiceDnsConfigDnsRecordArray) ToServiceDnsConfigDnsRecordArrayOutputWithContext(ctx context.Context) ServiceDnsConfigDnsRecordArrayOutput
- type ServiceDnsConfigDnsRecordArrayInput
- type ServiceDnsConfigDnsRecordArrayOutput
- func (ServiceDnsConfigDnsRecordArrayOutput) ElementType() reflect.Type
- func (o ServiceDnsConfigDnsRecordArrayOutput) Index(i pulumi.IntInput) ServiceDnsConfigDnsRecordOutput
- func (o ServiceDnsConfigDnsRecordArrayOutput) ToServiceDnsConfigDnsRecordArrayOutput() ServiceDnsConfigDnsRecordArrayOutput
- func (o ServiceDnsConfigDnsRecordArrayOutput) ToServiceDnsConfigDnsRecordArrayOutputWithContext(ctx context.Context) ServiceDnsConfigDnsRecordArrayOutput
- type ServiceDnsConfigDnsRecordInput
- type ServiceDnsConfigDnsRecordOutput
- func (ServiceDnsConfigDnsRecordOutput) ElementType() reflect.Type
- func (o ServiceDnsConfigDnsRecordOutput) ToServiceDnsConfigDnsRecordOutput() ServiceDnsConfigDnsRecordOutput
- func (o ServiceDnsConfigDnsRecordOutput) ToServiceDnsConfigDnsRecordOutputWithContext(ctx context.Context) ServiceDnsConfigDnsRecordOutput
- func (o ServiceDnsConfigDnsRecordOutput) Ttl() pulumi.IntOutput
- func (o ServiceDnsConfigDnsRecordOutput) Type() pulumi.StringOutput
- type ServiceDnsConfigInput
- type ServiceDnsConfigOutput
- func (o ServiceDnsConfigOutput) DnsRecords() ServiceDnsConfigDnsRecordArrayOutput
- func (ServiceDnsConfigOutput) ElementType() reflect.Type
- func (o ServiceDnsConfigOutput) NamespaceId() pulumi.StringOutput
- func (o ServiceDnsConfigOutput) RoutingPolicy() pulumi.StringPtrOutput
- func (o ServiceDnsConfigOutput) ToServiceDnsConfigOutput() ServiceDnsConfigOutput
- func (o ServiceDnsConfigOutput) ToServiceDnsConfigOutputWithContext(ctx context.Context) ServiceDnsConfigOutput
- func (o ServiceDnsConfigOutput) ToServiceDnsConfigPtrOutput() ServiceDnsConfigPtrOutput
- func (o ServiceDnsConfigOutput) ToServiceDnsConfigPtrOutputWithContext(ctx context.Context) ServiceDnsConfigPtrOutput
- type ServiceDnsConfigPtrInput
- type ServiceDnsConfigPtrOutput
- func (o ServiceDnsConfigPtrOutput) DnsRecords() ServiceDnsConfigDnsRecordArrayOutput
- func (o ServiceDnsConfigPtrOutput) Elem() ServiceDnsConfigOutput
- func (ServiceDnsConfigPtrOutput) ElementType() reflect.Type
- func (o ServiceDnsConfigPtrOutput) NamespaceId() pulumi.StringPtrOutput
- func (o ServiceDnsConfigPtrOutput) RoutingPolicy() pulumi.StringPtrOutput
- func (o ServiceDnsConfigPtrOutput) ToServiceDnsConfigPtrOutput() ServiceDnsConfigPtrOutput
- func (o ServiceDnsConfigPtrOutput) ToServiceDnsConfigPtrOutputWithContext(ctx context.Context) ServiceDnsConfigPtrOutput
- type ServiceHealthCheckConfig
- type ServiceHealthCheckConfigArgs
- func (ServiceHealthCheckConfigArgs) ElementType() reflect.Type
- func (i ServiceHealthCheckConfigArgs) ToServiceHealthCheckConfigOutput() ServiceHealthCheckConfigOutput
- func (i ServiceHealthCheckConfigArgs) ToServiceHealthCheckConfigOutputWithContext(ctx context.Context) ServiceHealthCheckConfigOutput
- func (i ServiceHealthCheckConfigArgs) ToServiceHealthCheckConfigPtrOutput() ServiceHealthCheckConfigPtrOutput
- func (i ServiceHealthCheckConfigArgs) ToServiceHealthCheckConfigPtrOutputWithContext(ctx context.Context) ServiceHealthCheckConfigPtrOutput
- type ServiceHealthCheckConfigInput
- type ServiceHealthCheckConfigOutput
- func (ServiceHealthCheckConfigOutput) ElementType() reflect.Type
- func (o ServiceHealthCheckConfigOutput) FailureThreshold() pulumi.IntPtrOutput
- func (o ServiceHealthCheckConfigOutput) ResourcePath() pulumi.StringPtrOutput
- func (o ServiceHealthCheckConfigOutput) ToServiceHealthCheckConfigOutput() ServiceHealthCheckConfigOutput
- func (o ServiceHealthCheckConfigOutput) ToServiceHealthCheckConfigOutputWithContext(ctx context.Context) ServiceHealthCheckConfigOutput
- func (o ServiceHealthCheckConfigOutput) ToServiceHealthCheckConfigPtrOutput() ServiceHealthCheckConfigPtrOutput
- func (o ServiceHealthCheckConfigOutput) ToServiceHealthCheckConfigPtrOutputWithContext(ctx context.Context) ServiceHealthCheckConfigPtrOutput
- func (o ServiceHealthCheckConfigOutput) Type() pulumi.StringPtrOutput
- type ServiceHealthCheckConfigPtrInput
- type ServiceHealthCheckConfigPtrOutput
- func (o ServiceHealthCheckConfigPtrOutput) Elem() ServiceHealthCheckConfigOutput
- func (ServiceHealthCheckConfigPtrOutput) ElementType() reflect.Type
- func (o ServiceHealthCheckConfigPtrOutput) FailureThreshold() pulumi.IntPtrOutput
- func (o ServiceHealthCheckConfigPtrOutput) ResourcePath() pulumi.StringPtrOutput
- func (o ServiceHealthCheckConfigPtrOutput) ToServiceHealthCheckConfigPtrOutput() ServiceHealthCheckConfigPtrOutput
- func (o ServiceHealthCheckConfigPtrOutput) ToServiceHealthCheckConfigPtrOutputWithContext(ctx context.Context) ServiceHealthCheckConfigPtrOutput
- func (o ServiceHealthCheckConfigPtrOutput) Type() pulumi.StringPtrOutput
- type ServiceHealthCheckCustomConfig
- type ServiceHealthCheckCustomConfigArgs
- func (ServiceHealthCheckCustomConfigArgs) ElementType() reflect.Type
- func (i ServiceHealthCheckCustomConfigArgs) ToServiceHealthCheckCustomConfigOutput() ServiceHealthCheckCustomConfigOutput
- func (i ServiceHealthCheckCustomConfigArgs) ToServiceHealthCheckCustomConfigOutputWithContext(ctx context.Context) ServiceHealthCheckCustomConfigOutput
- func (i ServiceHealthCheckCustomConfigArgs) ToServiceHealthCheckCustomConfigPtrOutput() ServiceHealthCheckCustomConfigPtrOutput
- func (i ServiceHealthCheckCustomConfigArgs) ToServiceHealthCheckCustomConfigPtrOutputWithContext(ctx context.Context) ServiceHealthCheckCustomConfigPtrOutput
- type ServiceHealthCheckCustomConfigInput
- type ServiceHealthCheckCustomConfigOutput
- func (ServiceHealthCheckCustomConfigOutput) ElementType() reflect.Type
- func (o ServiceHealthCheckCustomConfigOutput) FailureThreshold() pulumi.IntPtrOutput
- func (o ServiceHealthCheckCustomConfigOutput) ToServiceHealthCheckCustomConfigOutput() ServiceHealthCheckCustomConfigOutput
- func (o ServiceHealthCheckCustomConfigOutput) ToServiceHealthCheckCustomConfigOutputWithContext(ctx context.Context) ServiceHealthCheckCustomConfigOutput
- func (o ServiceHealthCheckCustomConfigOutput) ToServiceHealthCheckCustomConfigPtrOutput() ServiceHealthCheckCustomConfigPtrOutput
- func (o ServiceHealthCheckCustomConfigOutput) ToServiceHealthCheckCustomConfigPtrOutputWithContext(ctx context.Context) ServiceHealthCheckCustomConfigPtrOutput
- type ServiceHealthCheckCustomConfigPtrInput
- type ServiceHealthCheckCustomConfigPtrOutput
- func (o ServiceHealthCheckCustomConfigPtrOutput) Elem() ServiceHealthCheckCustomConfigOutput
- func (ServiceHealthCheckCustomConfigPtrOutput) ElementType() reflect.Type
- func (o ServiceHealthCheckCustomConfigPtrOutput) FailureThreshold() pulumi.IntPtrOutput
- func (o ServiceHealthCheckCustomConfigPtrOutput) ToServiceHealthCheckCustomConfigPtrOutput() ServiceHealthCheckCustomConfigPtrOutput
- func (o ServiceHealthCheckCustomConfigPtrOutput) ToServiceHealthCheckCustomConfigPtrOutputWithContext(ctx context.Context) ServiceHealthCheckCustomConfigPtrOutput
- type ServiceInput
- type ServiceMap
- type ServiceMapInput
- type ServiceMapOutput
- type ServiceOutput
- func (o ServiceOutput) Arn() pulumi.StringOutput
- func (o ServiceOutput) Description() pulumi.StringPtrOutput
- func (o ServiceOutput) DnsConfig() ServiceDnsConfigPtrOutput
- func (ServiceOutput) ElementType() reflect.Type
- func (o ServiceOutput) ForceDestroy() pulumi.BoolPtrOutput
- func (o ServiceOutput) HealthCheckConfig() ServiceHealthCheckConfigPtrOutput
- func (o ServiceOutput) HealthCheckCustomConfig() ServiceHealthCheckCustomConfigPtrOutput
- func (o ServiceOutput) Name() pulumi.StringOutput
- func (o ServiceOutput) NamespaceId() pulumi.StringOutput
- func (o ServiceOutput) Tags() pulumi.StringMapOutput
- func (o ServiceOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o ServiceOutput) ToServiceOutput() ServiceOutput
- func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
- func (o ServiceOutput) Type() pulumi.StringOutput
- type ServiceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetDnsNamespaceArgs ¶
type GetDnsNamespaceArgs struct { // Name of the namespace. Name string `pulumi:"name"` // Map of tags for the resource. Tags map[string]string `pulumi:"tags"` // Type of the namespace. Allowed values are `DNS_PUBLIC` or `DNS_PRIVATE`. Type string `pulumi:"type"` }
A collection of arguments for invoking getDnsNamespace.
type GetDnsNamespaceOutputArgs ¶
type GetDnsNamespaceOutputArgs struct { // Name of the namespace. Name pulumi.StringInput `pulumi:"name"` // Map of tags for the resource. Tags pulumi.StringMapInput `pulumi:"tags"` // Type of the namespace. Allowed values are `DNS_PUBLIC` or `DNS_PRIVATE`. Type pulumi.StringInput `pulumi:"type"` }
A collection of arguments for invoking getDnsNamespace.
func (GetDnsNamespaceOutputArgs) ElementType ¶
func (GetDnsNamespaceOutputArgs) ElementType() reflect.Type
type GetDnsNamespaceResult ¶
type GetDnsNamespaceResult struct { // ARN of the namespace. Arn string `pulumi:"arn"` // Description of the namespace. Description string `pulumi:"description"` // ID for the hosted zone that Amazon Route 53 creates when you create a namespace. HostedZone string `pulumi:"hostedZone"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` // Map of tags for the resource. Tags map[string]string `pulumi:"tags"` Type string `pulumi:"type"` }
A collection of values returned by getDnsNamespace.
func GetDnsNamespace ¶
func GetDnsNamespace(ctx *pulumi.Context, args *GetDnsNamespaceArgs, opts ...pulumi.InvokeOption) (*GetDnsNamespaceResult, error)
Retrieves information about a Service Discovery private or public DNS namespace.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/servicediscovery" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := servicediscovery.GetDnsNamespace(ctx, &servicediscovery.GetDnsNamespaceArgs{ Name: "example.service.local", Type: "DNS_PRIVATE", }, nil) if err != nil { return err } return nil }) }
```
type GetDnsNamespaceResultOutput ¶
type GetDnsNamespaceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDnsNamespace.
func GetDnsNamespaceOutput ¶
func GetDnsNamespaceOutput(ctx *pulumi.Context, args GetDnsNamespaceOutputArgs, opts ...pulumi.InvokeOption) GetDnsNamespaceResultOutput
func (GetDnsNamespaceResultOutput) Arn ¶
func (o GetDnsNamespaceResultOutput) Arn() pulumi.StringOutput
ARN of the namespace.
func (GetDnsNamespaceResultOutput) Description ¶
func (o GetDnsNamespaceResultOutput) Description() pulumi.StringOutput
Description of the namespace.
func (GetDnsNamespaceResultOutput) ElementType ¶
func (GetDnsNamespaceResultOutput) ElementType() reflect.Type
func (GetDnsNamespaceResultOutput) HostedZone ¶
func (o GetDnsNamespaceResultOutput) HostedZone() pulumi.StringOutput
ID for the hosted zone that Amazon Route 53 creates when you create a namespace.
func (GetDnsNamespaceResultOutput) Id ¶
func (o GetDnsNamespaceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetDnsNamespaceResultOutput) Name ¶
func (o GetDnsNamespaceResultOutput) Name() pulumi.StringOutput
func (GetDnsNamespaceResultOutput) Tags ¶
func (o GetDnsNamespaceResultOutput) Tags() pulumi.StringMapOutput
Map of tags for the resource.
func (GetDnsNamespaceResultOutput) ToGetDnsNamespaceResultOutput ¶
func (o GetDnsNamespaceResultOutput) ToGetDnsNamespaceResultOutput() GetDnsNamespaceResultOutput
func (GetDnsNamespaceResultOutput) ToGetDnsNamespaceResultOutputWithContext ¶
func (o GetDnsNamespaceResultOutput) ToGetDnsNamespaceResultOutputWithContext(ctx context.Context) GetDnsNamespaceResultOutput
func (GetDnsNamespaceResultOutput) Type ¶
func (o GetDnsNamespaceResultOutput) Type() pulumi.StringOutput
type GetServiceDnsConfig ¶
type GetServiceDnsConfig struct { // An array that contains one DnsRecord object for each resource record set. DnsRecords []GetServiceDnsConfigDnsRecord `pulumi:"dnsRecords"` // ID of the namespace that the service belongs to. NamespaceId string `pulumi:"namespaceId"` // 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 GetServiceDnsConfigArgs ¶
type GetServiceDnsConfigArgs struct { // An array that contains one DnsRecord object for each resource record set. DnsRecords GetServiceDnsConfigDnsRecordArrayInput `pulumi:"dnsRecords"` // ID of the namespace that the service belongs to. NamespaceId pulumi.StringInput `pulumi:"namespaceId"` // 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.StringInput `pulumi:"routingPolicy"` }
func (GetServiceDnsConfigArgs) ElementType ¶
func (GetServiceDnsConfigArgs) ElementType() reflect.Type
func (GetServiceDnsConfigArgs) ToGetServiceDnsConfigOutput ¶
func (i GetServiceDnsConfigArgs) ToGetServiceDnsConfigOutput() GetServiceDnsConfigOutput
func (GetServiceDnsConfigArgs) ToGetServiceDnsConfigOutputWithContext ¶
func (i GetServiceDnsConfigArgs) ToGetServiceDnsConfigOutputWithContext(ctx context.Context) GetServiceDnsConfigOutput
type GetServiceDnsConfigArray ¶
type GetServiceDnsConfigArray []GetServiceDnsConfigInput
func (GetServiceDnsConfigArray) ElementType ¶
func (GetServiceDnsConfigArray) ElementType() reflect.Type
func (GetServiceDnsConfigArray) ToGetServiceDnsConfigArrayOutput ¶
func (i GetServiceDnsConfigArray) ToGetServiceDnsConfigArrayOutput() GetServiceDnsConfigArrayOutput
func (GetServiceDnsConfigArray) ToGetServiceDnsConfigArrayOutputWithContext ¶
func (i GetServiceDnsConfigArray) ToGetServiceDnsConfigArrayOutputWithContext(ctx context.Context) GetServiceDnsConfigArrayOutput
type GetServiceDnsConfigArrayInput ¶
type GetServiceDnsConfigArrayInput interface { pulumi.Input ToGetServiceDnsConfigArrayOutput() GetServiceDnsConfigArrayOutput ToGetServiceDnsConfigArrayOutputWithContext(context.Context) GetServiceDnsConfigArrayOutput }
GetServiceDnsConfigArrayInput is an input type that accepts GetServiceDnsConfigArray and GetServiceDnsConfigArrayOutput values. You can construct a concrete instance of `GetServiceDnsConfigArrayInput` via:
GetServiceDnsConfigArray{ GetServiceDnsConfigArgs{...} }
type GetServiceDnsConfigArrayOutput ¶
type GetServiceDnsConfigArrayOutput struct{ *pulumi.OutputState }
func (GetServiceDnsConfigArrayOutput) ElementType ¶
func (GetServiceDnsConfigArrayOutput) ElementType() reflect.Type
func (GetServiceDnsConfigArrayOutput) Index ¶
func (o GetServiceDnsConfigArrayOutput) Index(i pulumi.IntInput) GetServiceDnsConfigOutput
func (GetServiceDnsConfigArrayOutput) ToGetServiceDnsConfigArrayOutput ¶
func (o GetServiceDnsConfigArrayOutput) ToGetServiceDnsConfigArrayOutput() GetServiceDnsConfigArrayOutput
func (GetServiceDnsConfigArrayOutput) ToGetServiceDnsConfigArrayOutputWithContext ¶
func (o GetServiceDnsConfigArrayOutput) ToGetServiceDnsConfigArrayOutputWithContext(ctx context.Context) GetServiceDnsConfigArrayOutput
type GetServiceDnsConfigDnsRecord ¶
type GetServiceDnsConfigDnsRecord struct { // 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 GetServiceDnsConfigDnsRecordArgs ¶
type GetServiceDnsConfigDnsRecordArgs struct { // 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 (GetServiceDnsConfigDnsRecordArgs) ElementType ¶
func (GetServiceDnsConfigDnsRecordArgs) ElementType() reflect.Type
func (GetServiceDnsConfigDnsRecordArgs) ToGetServiceDnsConfigDnsRecordOutput ¶
func (i GetServiceDnsConfigDnsRecordArgs) ToGetServiceDnsConfigDnsRecordOutput() GetServiceDnsConfigDnsRecordOutput
func (GetServiceDnsConfigDnsRecordArgs) ToGetServiceDnsConfigDnsRecordOutputWithContext ¶
func (i GetServiceDnsConfigDnsRecordArgs) ToGetServiceDnsConfigDnsRecordOutputWithContext(ctx context.Context) GetServiceDnsConfigDnsRecordOutput
type GetServiceDnsConfigDnsRecordArray ¶
type GetServiceDnsConfigDnsRecordArray []GetServiceDnsConfigDnsRecordInput
func (GetServiceDnsConfigDnsRecordArray) ElementType ¶
func (GetServiceDnsConfigDnsRecordArray) ElementType() reflect.Type
func (GetServiceDnsConfigDnsRecordArray) ToGetServiceDnsConfigDnsRecordArrayOutput ¶
func (i GetServiceDnsConfigDnsRecordArray) ToGetServiceDnsConfigDnsRecordArrayOutput() GetServiceDnsConfigDnsRecordArrayOutput
func (GetServiceDnsConfigDnsRecordArray) ToGetServiceDnsConfigDnsRecordArrayOutputWithContext ¶
func (i GetServiceDnsConfigDnsRecordArray) ToGetServiceDnsConfigDnsRecordArrayOutputWithContext(ctx context.Context) GetServiceDnsConfigDnsRecordArrayOutput
type GetServiceDnsConfigDnsRecordArrayInput ¶
type GetServiceDnsConfigDnsRecordArrayInput interface { pulumi.Input ToGetServiceDnsConfigDnsRecordArrayOutput() GetServiceDnsConfigDnsRecordArrayOutput ToGetServiceDnsConfigDnsRecordArrayOutputWithContext(context.Context) GetServiceDnsConfigDnsRecordArrayOutput }
GetServiceDnsConfigDnsRecordArrayInput is an input type that accepts GetServiceDnsConfigDnsRecordArray and GetServiceDnsConfigDnsRecordArrayOutput values. You can construct a concrete instance of `GetServiceDnsConfigDnsRecordArrayInput` via:
GetServiceDnsConfigDnsRecordArray{ GetServiceDnsConfigDnsRecordArgs{...} }
type GetServiceDnsConfigDnsRecordArrayOutput ¶
type GetServiceDnsConfigDnsRecordArrayOutput struct{ *pulumi.OutputState }
func (GetServiceDnsConfigDnsRecordArrayOutput) ElementType ¶
func (GetServiceDnsConfigDnsRecordArrayOutput) ElementType() reflect.Type
func (GetServiceDnsConfigDnsRecordArrayOutput) ToGetServiceDnsConfigDnsRecordArrayOutput ¶
func (o GetServiceDnsConfigDnsRecordArrayOutput) ToGetServiceDnsConfigDnsRecordArrayOutput() GetServiceDnsConfigDnsRecordArrayOutput
func (GetServiceDnsConfigDnsRecordArrayOutput) ToGetServiceDnsConfigDnsRecordArrayOutputWithContext ¶
func (o GetServiceDnsConfigDnsRecordArrayOutput) ToGetServiceDnsConfigDnsRecordArrayOutputWithContext(ctx context.Context) GetServiceDnsConfigDnsRecordArrayOutput
type GetServiceDnsConfigDnsRecordInput ¶
type GetServiceDnsConfigDnsRecordInput interface { pulumi.Input ToGetServiceDnsConfigDnsRecordOutput() GetServiceDnsConfigDnsRecordOutput ToGetServiceDnsConfigDnsRecordOutputWithContext(context.Context) GetServiceDnsConfigDnsRecordOutput }
GetServiceDnsConfigDnsRecordInput is an input type that accepts GetServiceDnsConfigDnsRecordArgs and GetServiceDnsConfigDnsRecordOutput values. You can construct a concrete instance of `GetServiceDnsConfigDnsRecordInput` via:
GetServiceDnsConfigDnsRecordArgs{...}
type GetServiceDnsConfigDnsRecordOutput ¶
type GetServiceDnsConfigDnsRecordOutput struct{ *pulumi.OutputState }
func (GetServiceDnsConfigDnsRecordOutput) ElementType ¶
func (GetServiceDnsConfigDnsRecordOutput) ElementType() reflect.Type
func (GetServiceDnsConfigDnsRecordOutput) ToGetServiceDnsConfigDnsRecordOutput ¶
func (o GetServiceDnsConfigDnsRecordOutput) ToGetServiceDnsConfigDnsRecordOutput() GetServiceDnsConfigDnsRecordOutput
func (GetServiceDnsConfigDnsRecordOutput) ToGetServiceDnsConfigDnsRecordOutputWithContext ¶
func (o GetServiceDnsConfigDnsRecordOutput) ToGetServiceDnsConfigDnsRecordOutputWithContext(ctx context.Context) GetServiceDnsConfigDnsRecordOutput
func (GetServiceDnsConfigDnsRecordOutput) Ttl ¶
func (o GetServiceDnsConfigDnsRecordOutput) Ttl() pulumi.IntOutput
Amount of time, in seconds, that you want DNS resolvers to cache the settings for this resource record set.
func (GetServiceDnsConfigDnsRecordOutput) Type ¶
func (o GetServiceDnsConfigDnsRecordOutput) Type() pulumi.StringOutput
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 GetServiceDnsConfigInput ¶
type GetServiceDnsConfigInput interface { pulumi.Input ToGetServiceDnsConfigOutput() GetServiceDnsConfigOutput ToGetServiceDnsConfigOutputWithContext(context.Context) GetServiceDnsConfigOutput }
GetServiceDnsConfigInput is an input type that accepts GetServiceDnsConfigArgs and GetServiceDnsConfigOutput values. You can construct a concrete instance of `GetServiceDnsConfigInput` via:
GetServiceDnsConfigArgs{...}
type GetServiceDnsConfigOutput ¶
type GetServiceDnsConfigOutput struct{ *pulumi.OutputState }
func (GetServiceDnsConfigOutput) DnsRecords ¶
func (o GetServiceDnsConfigOutput) DnsRecords() GetServiceDnsConfigDnsRecordArrayOutput
An array that contains one DnsRecord object for each resource record set.
func (GetServiceDnsConfigOutput) ElementType ¶
func (GetServiceDnsConfigOutput) ElementType() reflect.Type
func (GetServiceDnsConfigOutput) NamespaceId ¶
func (o GetServiceDnsConfigOutput) NamespaceId() pulumi.StringOutput
ID of the namespace that the service belongs to.
func (GetServiceDnsConfigOutput) RoutingPolicy ¶
func (o GetServiceDnsConfigOutput) RoutingPolicy() pulumi.StringOutput
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 (GetServiceDnsConfigOutput) ToGetServiceDnsConfigOutput ¶
func (o GetServiceDnsConfigOutput) ToGetServiceDnsConfigOutput() GetServiceDnsConfigOutput
func (GetServiceDnsConfigOutput) ToGetServiceDnsConfigOutputWithContext ¶
func (o GetServiceDnsConfigOutput) ToGetServiceDnsConfigOutputWithContext(ctx context.Context) GetServiceDnsConfigOutput
type GetServiceHealthCheckConfig ¶
type GetServiceHealthCheckConfig 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"` // 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 GetServiceHealthCheckConfigArgs ¶
type GetServiceHealthCheckConfigArgs 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.IntInput `pulumi:"failureThreshold"` // 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.StringInput `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.StringInput `pulumi:"type"` }
func (GetServiceHealthCheckConfigArgs) ElementType ¶
func (GetServiceHealthCheckConfigArgs) ElementType() reflect.Type
func (GetServiceHealthCheckConfigArgs) ToGetServiceHealthCheckConfigOutput ¶
func (i GetServiceHealthCheckConfigArgs) ToGetServiceHealthCheckConfigOutput() GetServiceHealthCheckConfigOutput
func (GetServiceHealthCheckConfigArgs) ToGetServiceHealthCheckConfigOutputWithContext ¶
func (i GetServiceHealthCheckConfigArgs) ToGetServiceHealthCheckConfigOutputWithContext(ctx context.Context) GetServiceHealthCheckConfigOutput
type GetServiceHealthCheckConfigArray ¶
type GetServiceHealthCheckConfigArray []GetServiceHealthCheckConfigInput
func (GetServiceHealthCheckConfigArray) ElementType ¶
func (GetServiceHealthCheckConfigArray) ElementType() reflect.Type
func (GetServiceHealthCheckConfigArray) ToGetServiceHealthCheckConfigArrayOutput ¶
func (i GetServiceHealthCheckConfigArray) ToGetServiceHealthCheckConfigArrayOutput() GetServiceHealthCheckConfigArrayOutput
func (GetServiceHealthCheckConfigArray) ToGetServiceHealthCheckConfigArrayOutputWithContext ¶
func (i GetServiceHealthCheckConfigArray) ToGetServiceHealthCheckConfigArrayOutputWithContext(ctx context.Context) GetServiceHealthCheckConfigArrayOutput
type GetServiceHealthCheckConfigArrayInput ¶
type GetServiceHealthCheckConfigArrayInput interface { pulumi.Input ToGetServiceHealthCheckConfigArrayOutput() GetServiceHealthCheckConfigArrayOutput ToGetServiceHealthCheckConfigArrayOutputWithContext(context.Context) GetServiceHealthCheckConfigArrayOutput }
GetServiceHealthCheckConfigArrayInput is an input type that accepts GetServiceHealthCheckConfigArray and GetServiceHealthCheckConfigArrayOutput values. You can construct a concrete instance of `GetServiceHealthCheckConfigArrayInput` via:
GetServiceHealthCheckConfigArray{ GetServiceHealthCheckConfigArgs{...} }
type GetServiceHealthCheckConfigArrayOutput ¶
type GetServiceHealthCheckConfigArrayOutput struct{ *pulumi.OutputState }
func (GetServiceHealthCheckConfigArrayOutput) ElementType ¶
func (GetServiceHealthCheckConfigArrayOutput) ElementType() reflect.Type
func (GetServiceHealthCheckConfigArrayOutput) ToGetServiceHealthCheckConfigArrayOutput ¶
func (o GetServiceHealthCheckConfigArrayOutput) ToGetServiceHealthCheckConfigArrayOutput() GetServiceHealthCheckConfigArrayOutput
func (GetServiceHealthCheckConfigArrayOutput) ToGetServiceHealthCheckConfigArrayOutputWithContext ¶
func (o GetServiceHealthCheckConfigArrayOutput) ToGetServiceHealthCheckConfigArrayOutputWithContext(ctx context.Context) GetServiceHealthCheckConfigArrayOutput
type GetServiceHealthCheckConfigInput ¶
type GetServiceHealthCheckConfigInput interface { pulumi.Input ToGetServiceHealthCheckConfigOutput() GetServiceHealthCheckConfigOutput ToGetServiceHealthCheckConfigOutputWithContext(context.Context) GetServiceHealthCheckConfigOutput }
GetServiceHealthCheckConfigInput is an input type that accepts GetServiceHealthCheckConfigArgs and GetServiceHealthCheckConfigOutput values. You can construct a concrete instance of `GetServiceHealthCheckConfigInput` via:
GetServiceHealthCheckConfigArgs{...}
type GetServiceHealthCheckConfigOutput ¶
type GetServiceHealthCheckConfigOutput struct{ *pulumi.OutputState }
func (GetServiceHealthCheckConfigOutput) ElementType ¶
func (GetServiceHealthCheckConfigOutput) ElementType() reflect.Type
func (GetServiceHealthCheckConfigOutput) FailureThreshold ¶
func (o GetServiceHealthCheckConfigOutput) FailureThreshold() pulumi.IntOutput
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 (GetServiceHealthCheckConfigOutput) ResourcePath ¶
func (o GetServiceHealthCheckConfigOutput) ResourcePath() pulumi.StringOutput
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 (GetServiceHealthCheckConfigOutput) ToGetServiceHealthCheckConfigOutput ¶
func (o GetServiceHealthCheckConfigOutput) ToGetServiceHealthCheckConfigOutput() GetServiceHealthCheckConfigOutput
func (GetServiceHealthCheckConfigOutput) ToGetServiceHealthCheckConfigOutputWithContext ¶
func (o GetServiceHealthCheckConfigOutput) ToGetServiceHealthCheckConfigOutputWithContext(ctx context.Context) GetServiceHealthCheckConfigOutput
func (GetServiceHealthCheckConfigOutput) Type ¶
func (o GetServiceHealthCheckConfigOutput) Type() pulumi.StringOutput
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 GetServiceHealthCheckCustomConfig ¶
type GetServiceHealthCheckCustomConfig 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 GetServiceHealthCheckCustomConfigArgs ¶
type GetServiceHealthCheckCustomConfigArgs 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.IntInput `pulumi:"failureThreshold"` }
func (GetServiceHealthCheckCustomConfigArgs) ElementType ¶
func (GetServiceHealthCheckCustomConfigArgs) ElementType() reflect.Type
func (GetServiceHealthCheckCustomConfigArgs) ToGetServiceHealthCheckCustomConfigOutput ¶
func (i GetServiceHealthCheckCustomConfigArgs) ToGetServiceHealthCheckCustomConfigOutput() GetServiceHealthCheckCustomConfigOutput
func (GetServiceHealthCheckCustomConfigArgs) ToGetServiceHealthCheckCustomConfigOutputWithContext ¶
func (i GetServiceHealthCheckCustomConfigArgs) ToGetServiceHealthCheckCustomConfigOutputWithContext(ctx context.Context) GetServiceHealthCheckCustomConfigOutput
type GetServiceHealthCheckCustomConfigArray ¶
type GetServiceHealthCheckCustomConfigArray []GetServiceHealthCheckCustomConfigInput
func (GetServiceHealthCheckCustomConfigArray) ElementType ¶
func (GetServiceHealthCheckCustomConfigArray) ElementType() reflect.Type
func (GetServiceHealthCheckCustomConfigArray) ToGetServiceHealthCheckCustomConfigArrayOutput ¶
func (i GetServiceHealthCheckCustomConfigArray) ToGetServiceHealthCheckCustomConfigArrayOutput() GetServiceHealthCheckCustomConfigArrayOutput
func (GetServiceHealthCheckCustomConfigArray) ToGetServiceHealthCheckCustomConfigArrayOutputWithContext ¶
func (i GetServiceHealthCheckCustomConfigArray) ToGetServiceHealthCheckCustomConfigArrayOutputWithContext(ctx context.Context) GetServiceHealthCheckCustomConfigArrayOutput
type GetServiceHealthCheckCustomConfigArrayInput ¶
type GetServiceHealthCheckCustomConfigArrayInput interface { pulumi.Input ToGetServiceHealthCheckCustomConfigArrayOutput() GetServiceHealthCheckCustomConfigArrayOutput ToGetServiceHealthCheckCustomConfigArrayOutputWithContext(context.Context) GetServiceHealthCheckCustomConfigArrayOutput }
GetServiceHealthCheckCustomConfigArrayInput is an input type that accepts GetServiceHealthCheckCustomConfigArray and GetServiceHealthCheckCustomConfigArrayOutput values. You can construct a concrete instance of `GetServiceHealthCheckCustomConfigArrayInput` via:
GetServiceHealthCheckCustomConfigArray{ GetServiceHealthCheckCustomConfigArgs{...} }
type GetServiceHealthCheckCustomConfigArrayOutput ¶
type GetServiceHealthCheckCustomConfigArrayOutput struct{ *pulumi.OutputState }
func (GetServiceHealthCheckCustomConfigArrayOutput) ElementType ¶
func (GetServiceHealthCheckCustomConfigArrayOutput) ElementType() reflect.Type
func (GetServiceHealthCheckCustomConfigArrayOutput) ToGetServiceHealthCheckCustomConfigArrayOutput ¶
func (o GetServiceHealthCheckCustomConfigArrayOutput) ToGetServiceHealthCheckCustomConfigArrayOutput() GetServiceHealthCheckCustomConfigArrayOutput
func (GetServiceHealthCheckCustomConfigArrayOutput) ToGetServiceHealthCheckCustomConfigArrayOutputWithContext ¶
func (o GetServiceHealthCheckCustomConfigArrayOutput) ToGetServiceHealthCheckCustomConfigArrayOutputWithContext(ctx context.Context) GetServiceHealthCheckCustomConfigArrayOutput
type GetServiceHealthCheckCustomConfigInput ¶
type GetServiceHealthCheckCustomConfigInput interface { pulumi.Input ToGetServiceHealthCheckCustomConfigOutput() GetServiceHealthCheckCustomConfigOutput ToGetServiceHealthCheckCustomConfigOutputWithContext(context.Context) GetServiceHealthCheckCustomConfigOutput }
GetServiceHealthCheckCustomConfigInput is an input type that accepts GetServiceHealthCheckCustomConfigArgs and GetServiceHealthCheckCustomConfigOutput values. You can construct a concrete instance of `GetServiceHealthCheckCustomConfigInput` via:
GetServiceHealthCheckCustomConfigArgs{...}
type GetServiceHealthCheckCustomConfigOutput ¶
type GetServiceHealthCheckCustomConfigOutput struct{ *pulumi.OutputState }
func (GetServiceHealthCheckCustomConfigOutput) ElementType ¶
func (GetServiceHealthCheckCustomConfigOutput) ElementType() reflect.Type
func (GetServiceHealthCheckCustomConfigOutput) FailureThreshold ¶
func (o GetServiceHealthCheckCustomConfigOutput) FailureThreshold() pulumi.IntOutput
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 (GetServiceHealthCheckCustomConfigOutput) ToGetServiceHealthCheckCustomConfigOutput ¶
func (o GetServiceHealthCheckCustomConfigOutput) ToGetServiceHealthCheckCustomConfigOutput() GetServiceHealthCheckCustomConfigOutput
func (GetServiceHealthCheckCustomConfigOutput) ToGetServiceHealthCheckCustomConfigOutputWithContext ¶
func (o GetServiceHealthCheckCustomConfigOutput) ToGetServiceHealthCheckCustomConfigOutputWithContext(ctx context.Context) GetServiceHealthCheckCustomConfigOutput
type HttpNamespace ¶
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 an HTTP namespace. HttpName pulumi.StringOutput `pulumi:"httpName"` // The name of the http namespace. Name pulumi.StringOutput `pulumi:"name"` // A map of tags to assign to the namespace. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/servicediscovery" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := servicediscovery.NewHttpNamespace(ctx, "example", &servicediscovery.HttpNamespaceArgs{ Name: pulumi.String("development"), Description: pulumi.String("example"), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Service Discovery HTTP Namespace using the namespace ID. For example:
```sh $ pulumi import aws:servicediscovery/httpNamespace:HttpNamespace example ns-1234567890 ```
func GetHttpNamespace ¶
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 ¶
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.
func (*HttpNamespace) ElementType ¶
func (*HttpNamespace) ElementType() reflect.Type
func (*HttpNamespace) ToHttpNamespaceOutput ¶
func (i *HttpNamespace) ToHttpNamespaceOutput() HttpNamespaceOutput
func (*HttpNamespace) ToHttpNamespaceOutputWithContext ¶
func (i *HttpNamespace) ToHttpNamespaceOutputWithContext(ctx context.Context) HttpNamespaceOutput
type HttpNamespaceArgs ¶
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 // A map of tags to assign to the namespace. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a HttpNamespace resource.
func (HttpNamespaceArgs) ElementType ¶
func (HttpNamespaceArgs) ElementType() reflect.Type
type HttpNamespaceArray ¶
type HttpNamespaceArray []HttpNamespaceInput
func (HttpNamespaceArray) ElementType ¶
func (HttpNamespaceArray) ElementType() reflect.Type
func (HttpNamespaceArray) ToHttpNamespaceArrayOutput ¶
func (i HttpNamespaceArray) ToHttpNamespaceArrayOutput() HttpNamespaceArrayOutput
func (HttpNamespaceArray) ToHttpNamespaceArrayOutputWithContext ¶
func (i HttpNamespaceArray) ToHttpNamespaceArrayOutputWithContext(ctx context.Context) HttpNamespaceArrayOutput
type HttpNamespaceArrayInput ¶
type HttpNamespaceArrayInput interface { pulumi.Input ToHttpNamespaceArrayOutput() HttpNamespaceArrayOutput ToHttpNamespaceArrayOutputWithContext(context.Context) HttpNamespaceArrayOutput }
HttpNamespaceArrayInput is an input type that accepts HttpNamespaceArray and HttpNamespaceArrayOutput values. You can construct a concrete instance of `HttpNamespaceArrayInput` via:
HttpNamespaceArray{ HttpNamespaceArgs{...} }
type HttpNamespaceArrayOutput ¶
type HttpNamespaceArrayOutput struct{ *pulumi.OutputState }
func (HttpNamespaceArrayOutput) ElementType ¶
func (HttpNamespaceArrayOutput) ElementType() reflect.Type
func (HttpNamespaceArrayOutput) Index ¶
func (o HttpNamespaceArrayOutput) Index(i pulumi.IntInput) HttpNamespaceOutput
func (HttpNamespaceArrayOutput) ToHttpNamespaceArrayOutput ¶
func (o HttpNamespaceArrayOutput) ToHttpNamespaceArrayOutput() HttpNamespaceArrayOutput
func (HttpNamespaceArrayOutput) ToHttpNamespaceArrayOutputWithContext ¶
func (o HttpNamespaceArrayOutput) ToHttpNamespaceArrayOutputWithContext(ctx context.Context) HttpNamespaceArrayOutput
type HttpNamespaceInput ¶
type HttpNamespaceInput interface { pulumi.Input ToHttpNamespaceOutput() HttpNamespaceOutput ToHttpNamespaceOutputWithContext(ctx context.Context) HttpNamespaceOutput }
type HttpNamespaceMap ¶
type HttpNamespaceMap map[string]HttpNamespaceInput
func (HttpNamespaceMap) ElementType ¶
func (HttpNamespaceMap) ElementType() reflect.Type
func (HttpNamespaceMap) ToHttpNamespaceMapOutput ¶
func (i HttpNamespaceMap) ToHttpNamespaceMapOutput() HttpNamespaceMapOutput
func (HttpNamespaceMap) ToHttpNamespaceMapOutputWithContext ¶
func (i HttpNamespaceMap) ToHttpNamespaceMapOutputWithContext(ctx context.Context) HttpNamespaceMapOutput
type HttpNamespaceMapInput ¶
type HttpNamespaceMapInput interface { pulumi.Input ToHttpNamespaceMapOutput() HttpNamespaceMapOutput ToHttpNamespaceMapOutputWithContext(context.Context) HttpNamespaceMapOutput }
HttpNamespaceMapInput is an input type that accepts HttpNamespaceMap and HttpNamespaceMapOutput values. You can construct a concrete instance of `HttpNamespaceMapInput` via:
HttpNamespaceMap{ "key": HttpNamespaceArgs{...} }
type HttpNamespaceMapOutput ¶
type HttpNamespaceMapOutput struct{ *pulumi.OutputState }
func (HttpNamespaceMapOutput) ElementType ¶
func (HttpNamespaceMapOutput) ElementType() reflect.Type
func (HttpNamespaceMapOutput) MapIndex ¶
func (o HttpNamespaceMapOutput) MapIndex(k pulumi.StringInput) HttpNamespaceOutput
func (HttpNamespaceMapOutput) ToHttpNamespaceMapOutput ¶
func (o HttpNamespaceMapOutput) ToHttpNamespaceMapOutput() HttpNamespaceMapOutput
func (HttpNamespaceMapOutput) ToHttpNamespaceMapOutputWithContext ¶
func (o HttpNamespaceMapOutput) ToHttpNamespaceMapOutputWithContext(ctx context.Context) HttpNamespaceMapOutput
type HttpNamespaceOutput ¶
type HttpNamespaceOutput struct{ *pulumi.OutputState }
func (HttpNamespaceOutput) Arn ¶
func (o HttpNamespaceOutput) Arn() pulumi.StringOutput
The ARN that Amazon Route 53 assigns to the namespace when you create it.
func (HttpNamespaceOutput) Description ¶
func (o HttpNamespaceOutput) Description() pulumi.StringPtrOutput
The description that you specify for the namespace when you create it.
func (HttpNamespaceOutput) ElementType ¶
func (HttpNamespaceOutput) ElementType() reflect.Type
func (HttpNamespaceOutput) HttpName ¶
func (o HttpNamespaceOutput) HttpName() pulumi.StringOutput
The name of an HTTP namespace.
func (HttpNamespaceOutput) Name ¶
func (o HttpNamespaceOutput) Name() pulumi.StringOutput
The name of the http namespace.
func (HttpNamespaceOutput) Tags ¶
func (o HttpNamespaceOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the namespace. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (HttpNamespaceOutput) TagsAll
deprecated
func (o HttpNamespaceOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (HttpNamespaceOutput) ToHttpNamespaceOutput ¶
func (o HttpNamespaceOutput) ToHttpNamespaceOutput() HttpNamespaceOutput
func (HttpNamespaceOutput) ToHttpNamespaceOutputWithContext ¶
func (o HttpNamespaceOutput) ToHttpNamespaceOutputWithContext(ctx context.Context) HttpNamespaceOutput
type HttpNamespaceState ¶
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 an HTTP namespace. HttpName pulumi.StringPtrInput // The name of the http namespace. Name pulumi.StringPtrInput // A map of tags to assign to the namespace. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput }
func (HttpNamespaceState) ElementType ¶
func (HttpNamespaceState) ElementType() reflect.Type
type Instance ¶
type Instance struct { pulumi.CustomResourceState // A map contains the attributes of the instance. Check the [doc](https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html#API_RegisterInstance_RequestSyntax) for the supported attributes and syntax. Attributes pulumi.StringMapOutput `pulumi:"attributes"` // The ID of the service instance. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // The ID of the service that you want to use to create the instance. ServiceId pulumi.StringOutput `pulumi:"serviceId"` }
Provides a Service Discovery Instance resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/servicediscovery" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := ec2.NewVpc(ctx, "example", &ec2.VpcArgs{ CidrBlock: pulumi.String("10.0.0.0/16"), EnableDnsSupport: pulumi.Bool(true), EnableDnsHostnames: pulumi.Bool(true), }) if err != nil { return err } examplePrivateDnsNamespace, err := servicediscovery.NewPrivateDnsNamespace(ctx, "example", &servicediscovery.PrivateDnsNamespaceArgs{ Name: pulumi.String("example.domain.local"), Description: pulumi.String("example"), Vpc: example.ID(), }) if err != nil { return err } exampleService, err := servicediscovery.NewService(ctx, "example", &servicediscovery.ServiceArgs{ Name: pulumi.String("example"), DnsConfig: &servicediscovery.ServiceDnsConfigArgs{ NamespaceId: examplePrivateDnsNamespace.ID(), DnsRecords: servicediscovery.ServiceDnsConfigDnsRecordArray{ &servicediscovery.ServiceDnsConfigDnsRecordArgs{ Ttl: pulumi.Int(10), Type: pulumi.String("A"), }, }, RoutingPolicy: pulumi.String("MULTIVALUE"), }, HealthCheckCustomConfig: &servicediscovery.ServiceHealthCheckCustomConfigArgs{ FailureThreshold: pulumi.Int(1), }, }) if err != nil { return err } _, err = servicediscovery.NewInstance(ctx, "example", &servicediscovery.InstanceArgs{ InstanceId: pulumi.String("example-instance-id"), ServiceId: exampleService.ID(), Attributes: pulumi.StringMap{ "AWS_INSTANCE_IPV4": pulumi.String("172.18.0.1"), "custom_attribute": pulumi.String("custom"), }, }) if err != nil { return err } return nil }) }
```
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/servicediscovery" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := servicediscovery.NewHttpNamespace(ctx, "example", &servicediscovery.HttpNamespaceArgs{ Name: pulumi.String("example.domain.test"), Description: pulumi.String("example"), }) if err != nil { return err } exampleService, err := servicediscovery.NewService(ctx, "example", &servicediscovery.ServiceArgs{ Name: pulumi.String("example"), NamespaceId: example.ID(), }) if err != nil { return err } _, err = servicediscovery.NewInstance(ctx, "example", &servicediscovery.InstanceArgs{ InstanceId: pulumi.String("example-instance-id"), ServiceId: exampleService.ID(), Attributes: pulumi.StringMap{ "AWS_EC2_INSTANCE_ID": pulumi.String("i-0abdg374kd892cj6dl"), }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Service Discovery Instance using the service ID and instance ID. For example:
```sh $ pulumi import aws:servicediscovery/instance:Instance example 0123456789/i-0123 ```
func GetInstance ¶
func GetInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)
GetInstance gets an existing Instance 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 NewInstance ¶
func NewInstance(ctx *pulumi.Context, name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)
NewInstance registers a new resource with the given unique name, arguments, and options.
func (*Instance) ElementType ¶
func (*Instance) ToInstanceOutput ¶
func (i *Instance) ToInstanceOutput() InstanceOutput
func (*Instance) ToInstanceOutputWithContext ¶
func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
type InstanceArgs ¶
type InstanceArgs struct { // A map contains the attributes of the instance. Check the [doc](https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html#API_RegisterInstance_RequestSyntax) for the supported attributes and syntax. Attributes pulumi.StringMapInput // The ID of the service instance. InstanceId pulumi.StringInput // The ID of the service that you want to use to create the instance. ServiceId pulumi.StringInput }
The set of arguments for constructing a Instance resource.
func (InstanceArgs) ElementType ¶
func (InstanceArgs) ElementType() reflect.Type
type InstanceArray ¶
type InstanceArray []InstanceInput
func (InstanceArray) ElementType ¶
func (InstanceArray) ElementType() reflect.Type
func (InstanceArray) ToInstanceArrayOutput ¶
func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArray) ToInstanceArrayOutputWithContext ¶
func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceArrayInput ¶
type InstanceArrayInput interface { pulumi.Input ToInstanceArrayOutput() InstanceArrayOutput ToInstanceArrayOutputWithContext(context.Context) InstanceArrayOutput }
InstanceArrayInput is an input type that accepts InstanceArray and InstanceArrayOutput values. You can construct a concrete instance of `InstanceArrayInput` via:
InstanceArray{ InstanceArgs{...} }
type InstanceArrayOutput ¶
type InstanceArrayOutput struct{ *pulumi.OutputState }
func (InstanceArrayOutput) ElementType ¶
func (InstanceArrayOutput) ElementType() reflect.Type
func (InstanceArrayOutput) Index ¶
func (o InstanceArrayOutput) Index(i pulumi.IntInput) InstanceOutput
func (InstanceArrayOutput) ToInstanceArrayOutput ¶
func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArrayOutput) ToInstanceArrayOutputWithContext ¶
func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceInput ¶
type InstanceInput interface { pulumi.Input ToInstanceOutput() InstanceOutput ToInstanceOutputWithContext(ctx context.Context) InstanceOutput }
type InstanceMap ¶
type InstanceMap map[string]InstanceInput
func (InstanceMap) ElementType ¶
func (InstanceMap) ElementType() reflect.Type
func (InstanceMap) ToInstanceMapOutput ¶
func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMap) ToInstanceMapOutputWithContext ¶
func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceMapInput ¶
type InstanceMapInput interface { pulumi.Input ToInstanceMapOutput() InstanceMapOutput ToInstanceMapOutputWithContext(context.Context) InstanceMapOutput }
InstanceMapInput is an input type that accepts InstanceMap and InstanceMapOutput values. You can construct a concrete instance of `InstanceMapInput` via:
InstanceMap{ "key": InstanceArgs{...} }
type InstanceMapOutput ¶
type InstanceMapOutput struct{ *pulumi.OutputState }
func (InstanceMapOutput) ElementType ¶
func (InstanceMapOutput) ElementType() reflect.Type
func (InstanceMapOutput) MapIndex ¶
func (o InstanceMapOutput) MapIndex(k pulumi.StringInput) InstanceOutput
func (InstanceMapOutput) ToInstanceMapOutput ¶
func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMapOutput) ToInstanceMapOutputWithContext ¶
func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceOutput ¶
type InstanceOutput struct{ *pulumi.OutputState }
func (InstanceOutput) Attributes ¶
func (o InstanceOutput) Attributes() pulumi.StringMapOutput
A map contains the attributes of the instance. Check the [doc](https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html#API_RegisterInstance_RequestSyntax) for the supported attributes and syntax.
func (InstanceOutput) ElementType ¶
func (InstanceOutput) ElementType() reflect.Type
func (InstanceOutput) InstanceId ¶
func (o InstanceOutput) InstanceId() pulumi.StringOutput
The ID of the service instance.
func (InstanceOutput) ServiceId ¶
func (o InstanceOutput) ServiceId() pulumi.StringOutput
The ID of the service that you want to use to create the instance.
func (InstanceOutput) ToInstanceOutput ¶
func (o InstanceOutput) ToInstanceOutput() InstanceOutput
func (InstanceOutput) ToInstanceOutputWithContext ¶
func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
type InstanceState ¶
type InstanceState struct { // A map contains the attributes of the instance. Check the [doc](https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html#API_RegisterInstance_RequestSyntax) for the supported attributes and syntax. Attributes pulumi.StringMapInput // The ID of the service instance. InstanceId pulumi.StringPtrInput // The ID of the service that you want to use to create the instance. ServiceId pulumi.StringPtrInput }
func (InstanceState) ElementType ¶
func (InstanceState) ElementType() reflect.Type
type LookupHttpNamespaceArgs ¶
type LookupHttpNamespaceArgs struct { // Name of the http namespace. Name string `pulumi:"name"` // Map of tags for the resource. Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getHttpNamespace.
type LookupHttpNamespaceOutputArgs ¶
type LookupHttpNamespaceOutputArgs struct { // Name of the http namespace. Name pulumi.StringInput `pulumi:"name"` // Map of tags for the resource. Tags pulumi.StringMapInput `pulumi:"tags"` }
A collection of arguments for invoking getHttpNamespace.
func (LookupHttpNamespaceOutputArgs) ElementType ¶
func (LookupHttpNamespaceOutputArgs) ElementType() reflect.Type
type LookupHttpNamespaceResult ¶
type LookupHttpNamespaceResult struct { // ARN that Amazon Route 53 assigns to the namespace when you create it. Arn string `pulumi:"arn"` // Description that you specify for the namespace when you create it. Description string `pulumi:"description"` // Name of an HTTP namespace. HttpName string `pulumi:"httpName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` // Map of tags for the resource. Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getHttpNamespace.
func LookupHttpNamespace ¶
func LookupHttpNamespace(ctx *pulumi.Context, args *LookupHttpNamespaceArgs, opts ...pulumi.InvokeOption) (*LookupHttpNamespaceResult, error)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/servicediscovery" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := servicediscovery.LookupHttpNamespace(ctx, &servicediscovery.LookupHttpNamespaceArgs{ Name: "development", }, nil) if err != nil { return err } return nil }) }
```
type LookupHttpNamespaceResultOutput ¶
type LookupHttpNamespaceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getHttpNamespace.
func LookupHttpNamespaceOutput ¶
func LookupHttpNamespaceOutput(ctx *pulumi.Context, args LookupHttpNamespaceOutputArgs, opts ...pulumi.InvokeOption) LookupHttpNamespaceResultOutput
func (LookupHttpNamespaceResultOutput) Arn ¶
func (o LookupHttpNamespaceResultOutput) Arn() pulumi.StringOutput
ARN that Amazon Route 53 assigns to the namespace when you create it.
func (LookupHttpNamespaceResultOutput) Description ¶
func (o LookupHttpNamespaceResultOutput) Description() pulumi.StringOutput
Description that you specify for the namespace when you create it.
func (LookupHttpNamespaceResultOutput) ElementType ¶
func (LookupHttpNamespaceResultOutput) ElementType() reflect.Type
func (LookupHttpNamespaceResultOutput) HttpName ¶
func (o LookupHttpNamespaceResultOutput) HttpName() pulumi.StringOutput
Name of an HTTP namespace.
func (LookupHttpNamespaceResultOutput) Id ¶
func (o LookupHttpNamespaceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupHttpNamespaceResultOutput) Name ¶
func (o LookupHttpNamespaceResultOutput) Name() pulumi.StringOutput
func (LookupHttpNamespaceResultOutput) Tags ¶
func (o LookupHttpNamespaceResultOutput) Tags() pulumi.StringMapOutput
Map of tags for the resource.
func (LookupHttpNamespaceResultOutput) ToLookupHttpNamespaceResultOutput ¶
func (o LookupHttpNamespaceResultOutput) ToLookupHttpNamespaceResultOutput() LookupHttpNamespaceResultOutput
func (LookupHttpNamespaceResultOutput) ToLookupHttpNamespaceResultOutputWithContext ¶
func (o LookupHttpNamespaceResultOutput) ToLookupHttpNamespaceResultOutputWithContext(ctx context.Context) LookupHttpNamespaceResultOutput
type LookupServiceArgs ¶
type LookupServiceArgs struct { // Name of the service. Name string `pulumi:"name"` // ID of the namespace that the service belongs to. NamespaceId string `pulumi:"namespaceId"` // Map of tags to assign to the service. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags map[string]string `pulumi:"tags"` // (**Deprecated**) Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: this attribute has been deprecated TagsAll map[string]string `pulumi:"tagsAll"` }
A collection of arguments for invoking getService.
type LookupServiceOutputArgs ¶
type LookupServiceOutputArgs struct { // Name of the service. Name pulumi.StringInput `pulumi:"name"` // ID of the namespace that the service belongs to. NamespaceId pulumi.StringInput `pulumi:"namespaceId"` // Map of tags to assign to the service. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput `pulumi:"tags"` // (**Deprecated**) Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: this attribute has been deprecated TagsAll pulumi.StringMapInput `pulumi:"tagsAll"` }
A collection of arguments for invoking getService.
func (LookupServiceOutputArgs) ElementType ¶
func (LookupServiceOutputArgs) ElementType() reflect.Type
type LookupServiceResult ¶
type LookupServiceResult struct { // ARN of the service. Arn string `pulumi:"arn"` // Description of the service. Description string `pulumi:"description"` // Complex type that contains information about the resource record sets that you want Amazon Route 53 to create when you register an instance. DnsConfigs []GetServiceDnsConfig `pulumi:"dnsConfigs"` // Complex type that contains settings for an optional health check. Only for Public DNS namespaces. HealthCheckConfigs []GetServiceHealthCheckConfig `pulumi:"healthCheckConfigs"` // A complex type that contains settings for ECS managed health checks. HealthCheckCustomConfigs []GetServiceHealthCheckCustomConfig `pulumi:"healthCheckCustomConfigs"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` // ID of the namespace to use for DNS configuration. NamespaceId string `pulumi:"namespaceId"` // Map of tags to assign to the service. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags map[string]string `pulumi:"tags"` // (**Deprecated**) Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: this attribute has been deprecated TagsAll map[string]string `pulumi:"tagsAll"` }
A collection of values returned by getService.
func LookupService ¶
func LookupService(ctx *pulumi.Context, args *LookupServiceArgs, opts ...pulumi.InvokeOption) (*LookupServiceResult, error)
Retrieves information about a Service Discovery Service.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/servicediscovery" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := servicediscovery.LookupService(ctx, &servicediscovery.LookupServiceArgs{ Name: "example", NamespaceId: "NAMESPACE_ID_VALUE", }, nil) if err != nil { return err } return nil }) }
```
type LookupServiceResultOutput ¶
type LookupServiceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getService.
func LookupServiceOutput ¶
func LookupServiceOutput(ctx *pulumi.Context, args LookupServiceOutputArgs, opts ...pulumi.InvokeOption) LookupServiceResultOutput
func (LookupServiceResultOutput) Arn ¶
func (o LookupServiceResultOutput) Arn() pulumi.StringOutput
ARN of the service.
func (LookupServiceResultOutput) Description ¶
func (o LookupServiceResultOutput) Description() pulumi.StringOutput
Description of the service.
func (LookupServiceResultOutput) DnsConfigs ¶
func (o LookupServiceResultOutput) DnsConfigs() GetServiceDnsConfigArrayOutput
Complex type that contains information about the resource record sets that you want Amazon Route 53 to create when you register an instance.
func (LookupServiceResultOutput) ElementType ¶
func (LookupServiceResultOutput) ElementType() reflect.Type
func (LookupServiceResultOutput) HealthCheckConfigs ¶
func (o LookupServiceResultOutput) HealthCheckConfigs() GetServiceHealthCheckConfigArrayOutput
Complex type that contains settings for an optional health check. Only for Public DNS namespaces.
func (LookupServiceResultOutput) HealthCheckCustomConfigs ¶
func (o LookupServiceResultOutput) HealthCheckCustomConfigs() GetServiceHealthCheckCustomConfigArrayOutput
A complex type that contains settings for ECS managed health checks.
func (LookupServiceResultOutput) Id ¶
func (o LookupServiceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupServiceResultOutput) Name ¶
func (o LookupServiceResultOutput) Name() pulumi.StringOutput
func (LookupServiceResultOutput) NamespaceId ¶
func (o LookupServiceResultOutput) NamespaceId() pulumi.StringOutput
ID of the namespace to use for DNS configuration.
func (LookupServiceResultOutput) Tags ¶
func (o LookupServiceResultOutput) Tags() pulumi.StringMapOutput
Map of tags to assign to the service. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (LookupServiceResultOutput) TagsAll
deprecated
func (o LookupServiceResultOutput) TagsAll() pulumi.StringMapOutput
(**Deprecated**) Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: this attribute has been deprecated
func (LookupServiceResultOutput) ToLookupServiceResultOutput ¶
func (o LookupServiceResultOutput) ToLookupServiceResultOutput() LookupServiceResultOutput
func (LookupServiceResultOutput) ToLookupServiceResultOutputWithContext ¶
func (o LookupServiceResultOutput) ToLookupServiceResultOutputWithContext(ctx context.Context) LookupServiceResultOutput
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"` // A map of tags to assign to the namespace. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // 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.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/servicediscovery" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := ec2.NewVpc(ctx, "example", &ec2.VpcArgs{ CidrBlock: pulumi.String("10.0.0.0/16"), }) if err != nil { return err } _, err = servicediscovery.NewPrivateDnsNamespace(ctx, "example", &servicediscovery.PrivateDnsNamespaceArgs{ Name: pulumi.String("hoge.example.local"), Description: pulumi.String("example"), Vpc: example.ID(), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Service Discovery Private DNS Namespace using the namespace ID and VPC ID. For example:
```sh $ pulumi import aws:servicediscovery/privateDnsNamespace:PrivateDnsNamespace example 0123456789:vpc-123345 ```
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.
func (*PrivateDnsNamespace) ElementType ¶
func (*PrivateDnsNamespace) ElementType() reflect.Type
func (*PrivateDnsNamespace) ToPrivateDnsNamespaceOutput ¶
func (i *PrivateDnsNamespace) ToPrivateDnsNamespaceOutput() PrivateDnsNamespaceOutput
func (*PrivateDnsNamespace) ToPrivateDnsNamespaceOutputWithContext ¶
func (i *PrivateDnsNamespace) ToPrivateDnsNamespaceOutputWithContext(ctx context.Context) PrivateDnsNamespaceOutput
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 // A map of tags to assign to the namespace. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // 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 ¶
func (PrivateDnsNamespaceArgs) ElementType() reflect.Type
type PrivateDnsNamespaceArray ¶
type PrivateDnsNamespaceArray []PrivateDnsNamespaceInput
func (PrivateDnsNamespaceArray) ElementType ¶
func (PrivateDnsNamespaceArray) ElementType() reflect.Type
func (PrivateDnsNamespaceArray) ToPrivateDnsNamespaceArrayOutput ¶
func (i PrivateDnsNamespaceArray) ToPrivateDnsNamespaceArrayOutput() PrivateDnsNamespaceArrayOutput
func (PrivateDnsNamespaceArray) ToPrivateDnsNamespaceArrayOutputWithContext ¶
func (i PrivateDnsNamespaceArray) ToPrivateDnsNamespaceArrayOutputWithContext(ctx context.Context) PrivateDnsNamespaceArrayOutput
type PrivateDnsNamespaceArrayInput ¶
type PrivateDnsNamespaceArrayInput interface { pulumi.Input ToPrivateDnsNamespaceArrayOutput() PrivateDnsNamespaceArrayOutput ToPrivateDnsNamespaceArrayOutputWithContext(context.Context) PrivateDnsNamespaceArrayOutput }
PrivateDnsNamespaceArrayInput is an input type that accepts PrivateDnsNamespaceArray and PrivateDnsNamespaceArrayOutput values. You can construct a concrete instance of `PrivateDnsNamespaceArrayInput` via:
PrivateDnsNamespaceArray{ PrivateDnsNamespaceArgs{...} }
type PrivateDnsNamespaceArrayOutput ¶
type PrivateDnsNamespaceArrayOutput struct{ *pulumi.OutputState }
func (PrivateDnsNamespaceArrayOutput) ElementType ¶
func (PrivateDnsNamespaceArrayOutput) ElementType() reflect.Type
func (PrivateDnsNamespaceArrayOutput) Index ¶
func (o PrivateDnsNamespaceArrayOutput) Index(i pulumi.IntInput) PrivateDnsNamespaceOutput
func (PrivateDnsNamespaceArrayOutput) ToPrivateDnsNamespaceArrayOutput ¶
func (o PrivateDnsNamespaceArrayOutput) ToPrivateDnsNamespaceArrayOutput() PrivateDnsNamespaceArrayOutput
func (PrivateDnsNamespaceArrayOutput) ToPrivateDnsNamespaceArrayOutputWithContext ¶
func (o PrivateDnsNamespaceArrayOutput) ToPrivateDnsNamespaceArrayOutputWithContext(ctx context.Context) PrivateDnsNamespaceArrayOutput
type PrivateDnsNamespaceInput ¶
type PrivateDnsNamespaceInput interface { pulumi.Input ToPrivateDnsNamespaceOutput() PrivateDnsNamespaceOutput ToPrivateDnsNamespaceOutputWithContext(ctx context.Context) PrivateDnsNamespaceOutput }
type PrivateDnsNamespaceMap ¶
type PrivateDnsNamespaceMap map[string]PrivateDnsNamespaceInput
func (PrivateDnsNamespaceMap) ElementType ¶
func (PrivateDnsNamespaceMap) ElementType() reflect.Type
func (PrivateDnsNamespaceMap) ToPrivateDnsNamespaceMapOutput ¶
func (i PrivateDnsNamespaceMap) ToPrivateDnsNamespaceMapOutput() PrivateDnsNamespaceMapOutput
func (PrivateDnsNamespaceMap) ToPrivateDnsNamespaceMapOutputWithContext ¶
func (i PrivateDnsNamespaceMap) ToPrivateDnsNamespaceMapOutputWithContext(ctx context.Context) PrivateDnsNamespaceMapOutput
type PrivateDnsNamespaceMapInput ¶
type PrivateDnsNamespaceMapInput interface { pulumi.Input ToPrivateDnsNamespaceMapOutput() PrivateDnsNamespaceMapOutput ToPrivateDnsNamespaceMapOutputWithContext(context.Context) PrivateDnsNamespaceMapOutput }
PrivateDnsNamespaceMapInput is an input type that accepts PrivateDnsNamespaceMap and PrivateDnsNamespaceMapOutput values. You can construct a concrete instance of `PrivateDnsNamespaceMapInput` via:
PrivateDnsNamespaceMap{ "key": PrivateDnsNamespaceArgs{...} }
type PrivateDnsNamespaceMapOutput ¶
type PrivateDnsNamespaceMapOutput struct{ *pulumi.OutputState }
func (PrivateDnsNamespaceMapOutput) ElementType ¶
func (PrivateDnsNamespaceMapOutput) ElementType() reflect.Type
func (PrivateDnsNamespaceMapOutput) MapIndex ¶
func (o PrivateDnsNamespaceMapOutput) MapIndex(k pulumi.StringInput) PrivateDnsNamespaceOutput
func (PrivateDnsNamespaceMapOutput) ToPrivateDnsNamespaceMapOutput ¶
func (o PrivateDnsNamespaceMapOutput) ToPrivateDnsNamespaceMapOutput() PrivateDnsNamespaceMapOutput
func (PrivateDnsNamespaceMapOutput) ToPrivateDnsNamespaceMapOutputWithContext ¶
func (o PrivateDnsNamespaceMapOutput) ToPrivateDnsNamespaceMapOutputWithContext(ctx context.Context) PrivateDnsNamespaceMapOutput
type PrivateDnsNamespaceOutput ¶
type PrivateDnsNamespaceOutput struct{ *pulumi.OutputState }
func (PrivateDnsNamespaceOutput) Arn ¶
func (o PrivateDnsNamespaceOutput) Arn() pulumi.StringOutput
The ARN that Amazon Route 53 assigns to the namespace when you create it.
func (PrivateDnsNamespaceOutput) Description ¶
func (o PrivateDnsNamespaceOutput) Description() pulumi.StringPtrOutput
The description that you specify for the namespace when you create it.
func (PrivateDnsNamespaceOutput) ElementType ¶
func (PrivateDnsNamespaceOutput) ElementType() reflect.Type
func (PrivateDnsNamespaceOutput) HostedZone ¶
func (o PrivateDnsNamespaceOutput) HostedZone() pulumi.StringOutput
The ID for the hosted zone that Amazon Route 53 creates when you create a namespace.
func (PrivateDnsNamespaceOutput) Name ¶
func (o PrivateDnsNamespaceOutput) Name() pulumi.StringOutput
The name of the namespace.
func (PrivateDnsNamespaceOutput) Tags ¶
func (o PrivateDnsNamespaceOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the namespace. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (PrivateDnsNamespaceOutput) TagsAll
deprecated
func (o PrivateDnsNamespaceOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (PrivateDnsNamespaceOutput) ToPrivateDnsNamespaceOutput ¶
func (o PrivateDnsNamespaceOutput) ToPrivateDnsNamespaceOutput() PrivateDnsNamespaceOutput
func (PrivateDnsNamespaceOutput) ToPrivateDnsNamespaceOutputWithContext ¶
func (o PrivateDnsNamespaceOutput) ToPrivateDnsNamespaceOutputWithContext(ctx context.Context) PrivateDnsNamespaceOutput
func (PrivateDnsNamespaceOutput) Vpc ¶
func (o PrivateDnsNamespaceOutput) Vpc() pulumi.StringOutput
The ID of VPC that you want to associate the namespace with.
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 // A map of tags to assign to the namespace. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput // The ID of VPC that you want to associate the namespace with. Vpc pulumi.StringPtrInput }
func (PrivateDnsNamespaceState) ElementType ¶
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"` // A map of tags to assign to the namespace. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a Service Discovery Public DNS Namespace resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/servicediscovery" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := servicediscovery.NewPublicDnsNamespace(ctx, "example", &servicediscovery.PublicDnsNamespaceArgs{ Name: pulumi.String("hoge.example.com"), Description: pulumi.String("example"), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Service Discovery Public DNS Namespace using the namespace ID. For example:
```sh $ pulumi import aws:servicediscovery/publicDnsNamespace:PublicDnsNamespace example 0123456789 ```
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.
func (*PublicDnsNamespace) ElementType ¶
func (*PublicDnsNamespace) ElementType() reflect.Type
func (*PublicDnsNamespace) ToPublicDnsNamespaceOutput ¶
func (i *PublicDnsNamespace) ToPublicDnsNamespaceOutput() PublicDnsNamespaceOutput
func (*PublicDnsNamespace) ToPublicDnsNamespaceOutputWithContext ¶
func (i *PublicDnsNamespace) ToPublicDnsNamespaceOutputWithContext(ctx context.Context) PublicDnsNamespaceOutput
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 // A map of tags to assign to the namespace. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a PublicDnsNamespace resource.
func (PublicDnsNamespaceArgs) ElementType ¶
func (PublicDnsNamespaceArgs) ElementType() reflect.Type
type PublicDnsNamespaceArray ¶
type PublicDnsNamespaceArray []PublicDnsNamespaceInput
func (PublicDnsNamespaceArray) ElementType ¶
func (PublicDnsNamespaceArray) ElementType() reflect.Type
func (PublicDnsNamespaceArray) ToPublicDnsNamespaceArrayOutput ¶
func (i PublicDnsNamespaceArray) ToPublicDnsNamespaceArrayOutput() PublicDnsNamespaceArrayOutput
func (PublicDnsNamespaceArray) ToPublicDnsNamespaceArrayOutputWithContext ¶
func (i PublicDnsNamespaceArray) ToPublicDnsNamespaceArrayOutputWithContext(ctx context.Context) PublicDnsNamespaceArrayOutput
type PublicDnsNamespaceArrayInput ¶
type PublicDnsNamespaceArrayInput interface { pulumi.Input ToPublicDnsNamespaceArrayOutput() PublicDnsNamespaceArrayOutput ToPublicDnsNamespaceArrayOutputWithContext(context.Context) PublicDnsNamespaceArrayOutput }
PublicDnsNamespaceArrayInput is an input type that accepts PublicDnsNamespaceArray and PublicDnsNamespaceArrayOutput values. You can construct a concrete instance of `PublicDnsNamespaceArrayInput` via:
PublicDnsNamespaceArray{ PublicDnsNamespaceArgs{...} }
type PublicDnsNamespaceArrayOutput ¶
type PublicDnsNamespaceArrayOutput struct{ *pulumi.OutputState }
func (PublicDnsNamespaceArrayOutput) ElementType ¶
func (PublicDnsNamespaceArrayOutput) ElementType() reflect.Type
func (PublicDnsNamespaceArrayOutput) Index ¶
func (o PublicDnsNamespaceArrayOutput) Index(i pulumi.IntInput) PublicDnsNamespaceOutput
func (PublicDnsNamespaceArrayOutput) ToPublicDnsNamespaceArrayOutput ¶
func (o PublicDnsNamespaceArrayOutput) ToPublicDnsNamespaceArrayOutput() PublicDnsNamespaceArrayOutput
func (PublicDnsNamespaceArrayOutput) ToPublicDnsNamespaceArrayOutputWithContext ¶
func (o PublicDnsNamespaceArrayOutput) ToPublicDnsNamespaceArrayOutputWithContext(ctx context.Context) PublicDnsNamespaceArrayOutput
type PublicDnsNamespaceInput ¶
type PublicDnsNamespaceInput interface { pulumi.Input ToPublicDnsNamespaceOutput() PublicDnsNamespaceOutput ToPublicDnsNamespaceOutputWithContext(ctx context.Context) PublicDnsNamespaceOutput }
type PublicDnsNamespaceMap ¶
type PublicDnsNamespaceMap map[string]PublicDnsNamespaceInput
func (PublicDnsNamespaceMap) ElementType ¶
func (PublicDnsNamespaceMap) ElementType() reflect.Type
func (PublicDnsNamespaceMap) ToPublicDnsNamespaceMapOutput ¶
func (i PublicDnsNamespaceMap) ToPublicDnsNamespaceMapOutput() PublicDnsNamespaceMapOutput
func (PublicDnsNamespaceMap) ToPublicDnsNamespaceMapOutputWithContext ¶
func (i PublicDnsNamespaceMap) ToPublicDnsNamespaceMapOutputWithContext(ctx context.Context) PublicDnsNamespaceMapOutput
type PublicDnsNamespaceMapInput ¶
type PublicDnsNamespaceMapInput interface { pulumi.Input ToPublicDnsNamespaceMapOutput() PublicDnsNamespaceMapOutput ToPublicDnsNamespaceMapOutputWithContext(context.Context) PublicDnsNamespaceMapOutput }
PublicDnsNamespaceMapInput is an input type that accepts PublicDnsNamespaceMap and PublicDnsNamespaceMapOutput values. You can construct a concrete instance of `PublicDnsNamespaceMapInput` via:
PublicDnsNamespaceMap{ "key": PublicDnsNamespaceArgs{...} }
type PublicDnsNamespaceMapOutput ¶
type PublicDnsNamespaceMapOutput struct{ *pulumi.OutputState }
func (PublicDnsNamespaceMapOutput) ElementType ¶
func (PublicDnsNamespaceMapOutput) ElementType() reflect.Type
func (PublicDnsNamespaceMapOutput) MapIndex ¶
func (o PublicDnsNamespaceMapOutput) MapIndex(k pulumi.StringInput) PublicDnsNamespaceOutput
func (PublicDnsNamespaceMapOutput) ToPublicDnsNamespaceMapOutput ¶
func (o PublicDnsNamespaceMapOutput) ToPublicDnsNamespaceMapOutput() PublicDnsNamespaceMapOutput
func (PublicDnsNamespaceMapOutput) ToPublicDnsNamespaceMapOutputWithContext ¶
func (o PublicDnsNamespaceMapOutput) ToPublicDnsNamespaceMapOutputWithContext(ctx context.Context) PublicDnsNamespaceMapOutput
type PublicDnsNamespaceOutput ¶
type PublicDnsNamespaceOutput struct{ *pulumi.OutputState }
func (PublicDnsNamespaceOutput) Arn ¶
func (o PublicDnsNamespaceOutput) Arn() pulumi.StringOutput
The ARN that Amazon Route 53 assigns to the namespace when you create it.
func (PublicDnsNamespaceOutput) Description ¶
func (o PublicDnsNamespaceOutput) Description() pulumi.StringPtrOutput
The description that you specify for the namespace when you create it.
func (PublicDnsNamespaceOutput) ElementType ¶
func (PublicDnsNamespaceOutput) ElementType() reflect.Type
func (PublicDnsNamespaceOutput) HostedZone ¶
func (o PublicDnsNamespaceOutput) HostedZone() pulumi.StringOutput
The ID for the hosted zone that Amazon Route 53 creates when you create a namespace.
func (PublicDnsNamespaceOutput) Name ¶
func (o PublicDnsNamespaceOutput) Name() pulumi.StringOutput
The name of the namespace.
func (PublicDnsNamespaceOutput) Tags ¶
func (o PublicDnsNamespaceOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the namespace. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (PublicDnsNamespaceOutput) TagsAll
deprecated
func (o PublicDnsNamespaceOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (PublicDnsNamespaceOutput) ToPublicDnsNamespaceOutput ¶
func (o PublicDnsNamespaceOutput) ToPublicDnsNamespaceOutput() PublicDnsNamespaceOutput
func (PublicDnsNamespaceOutput) ToPublicDnsNamespaceOutputWithContext ¶
func (o PublicDnsNamespaceOutput) ToPublicDnsNamespaceOutputWithContext(ctx context.Context) PublicDnsNamespaceOutput
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 // A map of tags to assign to the namespace. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput }
func (PublicDnsNamespaceState) ElementType ¶
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 boolean that indicates all instances should be deleted from the service so that the service can be destroyed without error. These instances are not recoverable. ForceDestroy pulumi.BoolPtrOutput `pulumi:"forceDestroy"` // 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 that you want to use to create the service. NamespaceId pulumi.StringOutput `pulumi:"namespaceId"` // A map of tags to assign to the service. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // If present, specifies that the service instances are only discoverable using the `DiscoverInstances` API operation. No DNS records is registered for the service instances. The only valid value is `HTTP`. Type pulumi.StringOutput `pulumi:"type"` }
Provides a Service Discovery Service resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/servicediscovery" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := ec2.NewVpc(ctx, "example", &ec2.VpcArgs{ CidrBlock: pulumi.String("10.0.0.0/16"), EnableDnsSupport: pulumi.Bool(true), EnableDnsHostnames: pulumi.Bool(true), }) if err != nil { return err } examplePrivateDnsNamespace, err := servicediscovery.NewPrivateDnsNamespace(ctx, "example", &servicediscovery.PrivateDnsNamespaceArgs{ Name: pulumi.String("example.mydomain.local"), Description: pulumi.String("example"), Vpc: example.ID(), }) if err != nil { return err } _, err = servicediscovery.NewService(ctx, "example", &servicediscovery.ServiceArgs{ Name: pulumi.String("example"), DnsConfig: &servicediscovery.ServiceDnsConfigArgs{ NamespaceId: examplePrivateDnsNamespace.ID(), DnsRecords: servicediscovery.ServiceDnsConfigDnsRecordArray{ &servicediscovery.ServiceDnsConfigDnsRecordArgs{ Ttl: pulumi.Int(10), Type: pulumi.String("A"), }, }, RoutingPolicy: pulumi.String("MULTIVALUE"), }, HealthCheckCustomConfig: &servicediscovery.ServiceHealthCheckCustomConfigArgs{ FailureThreshold: pulumi.Int(1), }, }) if err != nil { return err } return nil }) }
```
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/servicediscovery" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := servicediscovery.NewPublicDnsNamespace(ctx, "example", &servicediscovery.PublicDnsNamespaceArgs{ Name: pulumi.String("example.mydomain.com"), Description: pulumi.String("example"), }) if err != nil { return err } _, err = servicediscovery.NewService(ctx, "example", &servicediscovery.ServiceArgs{ Name: pulumi.String("example"), DnsConfig: &servicediscovery.ServiceDnsConfigArgs{ NamespaceId: example.ID(), DnsRecords: servicediscovery.ServiceDnsConfigDnsRecordArray{ &servicediscovery.ServiceDnsConfigDnsRecordArgs{ Ttl: pulumi.Int(10), Type: pulumi.String("A"), }, }, }, HealthCheckConfig: &servicediscovery.ServiceHealthCheckConfigArgs{ FailureThreshold: pulumi.Int(10), ResourcePath: pulumi.String("path"), Type: pulumi.String("HTTP"), }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Service Discovery Service using the service ID. For example:
```sh $ pulumi import aws:servicediscovery/service:Service example 0123456789 ```
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.
func (*Service) ElementType ¶
func (*Service) ToServiceOutput ¶
func (i *Service) ToServiceOutput() ServiceOutput
func (*Service) ToServiceOutputWithContext ¶
func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
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 boolean that indicates all instances should be deleted from the service so that the service can be destroyed without error. These instances are not recoverable. ForceDestroy pulumi.BoolPtrInput // 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 that you want to use to create the service. NamespaceId pulumi.StringPtrInput // A map of tags to assign to the service. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // If present, specifies that the service instances are only discoverable using the `DiscoverInstances` API operation. No DNS records is registered for the service instances. The only valid value is `HTTP`. Type pulumi.StringPtrInput }
The set of arguments for constructing a Service resource.
func (ServiceArgs) ElementType ¶
func (ServiceArgs) ElementType() reflect.Type
type ServiceArray ¶
type ServiceArray []ServiceInput
func (ServiceArray) ElementType ¶
func (ServiceArray) ElementType() reflect.Type
func (ServiceArray) ToServiceArrayOutput ¶
func (i ServiceArray) ToServiceArrayOutput() ServiceArrayOutput
func (ServiceArray) ToServiceArrayOutputWithContext ¶
func (i ServiceArray) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput
type ServiceArrayInput ¶
type ServiceArrayInput interface { pulumi.Input ToServiceArrayOutput() ServiceArrayOutput ToServiceArrayOutputWithContext(context.Context) ServiceArrayOutput }
ServiceArrayInput is an input type that accepts ServiceArray and ServiceArrayOutput values. You can construct a concrete instance of `ServiceArrayInput` via:
ServiceArray{ ServiceArgs{...} }
type ServiceArrayOutput ¶
type ServiceArrayOutput struct{ *pulumi.OutputState }
func (ServiceArrayOutput) ElementType ¶
func (ServiceArrayOutput) ElementType() reflect.Type
func (ServiceArrayOutput) Index ¶
func (o ServiceArrayOutput) Index(i pulumi.IntInput) ServiceOutput
func (ServiceArrayOutput) ToServiceArrayOutput ¶
func (o ServiceArrayOutput) ToServiceArrayOutput() ServiceArrayOutput
func (ServiceArrayOutput) ToServiceArrayOutputWithContext ¶
func (o ServiceArrayOutput) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput
type ServiceDnsConfig ¶
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 ¶
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 ¶
func (ServiceDnsConfigArgs) ElementType() reflect.Type
func (ServiceDnsConfigArgs) ToServiceDnsConfigOutput ¶
func (i ServiceDnsConfigArgs) ToServiceDnsConfigOutput() ServiceDnsConfigOutput
func (ServiceDnsConfigArgs) ToServiceDnsConfigOutputWithContext ¶
func (i ServiceDnsConfigArgs) ToServiceDnsConfigOutputWithContext(ctx context.Context) ServiceDnsConfigOutput
func (ServiceDnsConfigArgs) ToServiceDnsConfigPtrOutput ¶
func (i ServiceDnsConfigArgs) ToServiceDnsConfigPtrOutput() ServiceDnsConfigPtrOutput
func (ServiceDnsConfigArgs) ToServiceDnsConfigPtrOutputWithContext ¶
func (i ServiceDnsConfigArgs) ToServiceDnsConfigPtrOutputWithContext(ctx context.Context) ServiceDnsConfigPtrOutput
type ServiceDnsConfigDnsRecord ¶
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 the resource, which indicates the value that Amazon Route 53 returns in response to DNS queries. Valid Values: A, AAAA, SRV, CNAME Type string `pulumi:"type"` }
type ServiceDnsConfigDnsRecordArgs ¶
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 the resource, which indicates the value that Amazon Route 53 returns in response to DNS queries. Valid Values: A, AAAA, SRV, CNAME Type pulumi.StringInput `pulumi:"type"` }
func (ServiceDnsConfigDnsRecordArgs) ElementType ¶
func (ServiceDnsConfigDnsRecordArgs) ElementType() reflect.Type
func (ServiceDnsConfigDnsRecordArgs) ToServiceDnsConfigDnsRecordOutput ¶
func (i ServiceDnsConfigDnsRecordArgs) ToServiceDnsConfigDnsRecordOutput() ServiceDnsConfigDnsRecordOutput
func (ServiceDnsConfigDnsRecordArgs) ToServiceDnsConfigDnsRecordOutputWithContext ¶
func (i ServiceDnsConfigDnsRecordArgs) ToServiceDnsConfigDnsRecordOutputWithContext(ctx context.Context) ServiceDnsConfigDnsRecordOutput
type ServiceDnsConfigDnsRecordArray ¶
type ServiceDnsConfigDnsRecordArray []ServiceDnsConfigDnsRecordInput
func (ServiceDnsConfigDnsRecordArray) ElementType ¶
func (ServiceDnsConfigDnsRecordArray) ElementType() reflect.Type
func (ServiceDnsConfigDnsRecordArray) ToServiceDnsConfigDnsRecordArrayOutput ¶
func (i ServiceDnsConfigDnsRecordArray) ToServiceDnsConfigDnsRecordArrayOutput() ServiceDnsConfigDnsRecordArrayOutput
func (ServiceDnsConfigDnsRecordArray) ToServiceDnsConfigDnsRecordArrayOutputWithContext ¶
func (i ServiceDnsConfigDnsRecordArray) ToServiceDnsConfigDnsRecordArrayOutputWithContext(ctx context.Context) ServiceDnsConfigDnsRecordArrayOutput
type ServiceDnsConfigDnsRecordArrayInput ¶
type ServiceDnsConfigDnsRecordArrayInput interface { pulumi.Input ToServiceDnsConfigDnsRecordArrayOutput() ServiceDnsConfigDnsRecordArrayOutput ToServiceDnsConfigDnsRecordArrayOutputWithContext(context.Context) ServiceDnsConfigDnsRecordArrayOutput }
ServiceDnsConfigDnsRecordArrayInput is an input type that accepts ServiceDnsConfigDnsRecordArray and ServiceDnsConfigDnsRecordArrayOutput values. You can construct a concrete instance of `ServiceDnsConfigDnsRecordArrayInput` via:
ServiceDnsConfigDnsRecordArray{ ServiceDnsConfigDnsRecordArgs{...} }
type ServiceDnsConfigDnsRecordArrayOutput ¶
type ServiceDnsConfigDnsRecordArrayOutput struct{ *pulumi.OutputState }
func (ServiceDnsConfigDnsRecordArrayOutput) ElementType ¶
func (ServiceDnsConfigDnsRecordArrayOutput) ElementType() reflect.Type
func (ServiceDnsConfigDnsRecordArrayOutput) Index ¶
func (o ServiceDnsConfigDnsRecordArrayOutput) Index(i pulumi.IntInput) ServiceDnsConfigDnsRecordOutput
func (ServiceDnsConfigDnsRecordArrayOutput) ToServiceDnsConfigDnsRecordArrayOutput ¶
func (o ServiceDnsConfigDnsRecordArrayOutput) ToServiceDnsConfigDnsRecordArrayOutput() ServiceDnsConfigDnsRecordArrayOutput
func (ServiceDnsConfigDnsRecordArrayOutput) ToServiceDnsConfigDnsRecordArrayOutputWithContext ¶
func (o ServiceDnsConfigDnsRecordArrayOutput) ToServiceDnsConfigDnsRecordArrayOutputWithContext(ctx context.Context) ServiceDnsConfigDnsRecordArrayOutput
type ServiceDnsConfigDnsRecordInput ¶
type ServiceDnsConfigDnsRecordInput interface { pulumi.Input ToServiceDnsConfigDnsRecordOutput() ServiceDnsConfigDnsRecordOutput ToServiceDnsConfigDnsRecordOutputWithContext(context.Context) ServiceDnsConfigDnsRecordOutput }
ServiceDnsConfigDnsRecordInput is an input type that accepts ServiceDnsConfigDnsRecordArgs and ServiceDnsConfigDnsRecordOutput values. You can construct a concrete instance of `ServiceDnsConfigDnsRecordInput` via:
ServiceDnsConfigDnsRecordArgs{...}
type ServiceDnsConfigDnsRecordOutput ¶
type ServiceDnsConfigDnsRecordOutput struct{ *pulumi.OutputState }
func (ServiceDnsConfigDnsRecordOutput) ElementType ¶
func (ServiceDnsConfigDnsRecordOutput) ElementType() reflect.Type
func (ServiceDnsConfigDnsRecordOutput) ToServiceDnsConfigDnsRecordOutput ¶
func (o ServiceDnsConfigDnsRecordOutput) ToServiceDnsConfigDnsRecordOutput() ServiceDnsConfigDnsRecordOutput
func (ServiceDnsConfigDnsRecordOutput) ToServiceDnsConfigDnsRecordOutputWithContext ¶
func (o ServiceDnsConfigDnsRecordOutput) ToServiceDnsConfigDnsRecordOutputWithContext(ctx context.Context) ServiceDnsConfigDnsRecordOutput
func (ServiceDnsConfigDnsRecordOutput) Ttl ¶
func (o ServiceDnsConfigDnsRecordOutput) Ttl() pulumi.IntOutput
The amount of time, in seconds, that you want DNS resolvers to cache the settings for this resource record set.
func (ServiceDnsConfigDnsRecordOutput) Type ¶
func (o ServiceDnsConfigDnsRecordOutput) Type() pulumi.StringOutput
The type of the resource, which indicates the value that Amazon Route 53 returns in response to DNS queries. Valid Values: A, AAAA, SRV, CNAME
type ServiceDnsConfigInput ¶
type ServiceDnsConfigInput interface { pulumi.Input ToServiceDnsConfigOutput() ServiceDnsConfigOutput ToServiceDnsConfigOutputWithContext(context.Context) ServiceDnsConfigOutput }
ServiceDnsConfigInput is an input type that accepts ServiceDnsConfigArgs and ServiceDnsConfigOutput values. You can construct a concrete instance of `ServiceDnsConfigInput` via:
ServiceDnsConfigArgs{...}
type ServiceDnsConfigOutput ¶
type ServiceDnsConfigOutput struct{ *pulumi.OutputState }
func (ServiceDnsConfigOutput) DnsRecords ¶
func (o ServiceDnsConfigOutput) DnsRecords() ServiceDnsConfigDnsRecordArrayOutput
An array that contains one DnsRecord object for each resource record set.
func (ServiceDnsConfigOutput) ElementType ¶
func (ServiceDnsConfigOutput) ElementType() reflect.Type
func (ServiceDnsConfigOutput) NamespaceId ¶
func (o ServiceDnsConfigOutput) NamespaceId() pulumi.StringOutput
The ID of the namespace to use for DNS configuration.
func (ServiceDnsConfigOutput) RoutingPolicy ¶
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 ¶
func (o ServiceDnsConfigOutput) ToServiceDnsConfigOutput() ServiceDnsConfigOutput
func (ServiceDnsConfigOutput) ToServiceDnsConfigOutputWithContext ¶
func (o ServiceDnsConfigOutput) ToServiceDnsConfigOutputWithContext(ctx context.Context) ServiceDnsConfigOutput
func (ServiceDnsConfigOutput) ToServiceDnsConfigPtrOutput ¶
func (o ServiceDnsConfigOutput) ToServiceDnsConfigPtrOutput() ServiceDnsConfigPtrOutput
func (ServiceDnsConfigOutput) ToServiceDnsConfigPtrOutputWithContext ¶
func (o ServiceDnsConfigOutput) ToServiceDnsConfigPtrOutputWithContext(ctx context.Context) ServiceDnsConfigPtrOutput
type ServiceDnsConfigPtrInput ¶
type ServiceDnsConfigPtrInput interface { pulumi.Input ToServiceDnsConfigPtrOutput() ServiceDnsConfigPtrOutput ToServiceDnsConfigPtrOutputWithContext(context.Context) ServiceDnsConfigPtrOutput }
ServiceDnsConfigPtrInput is an input type that accepts ServiceDnsConfigArgs, ServiceDnsConfigPtr and ServiceDnsConfigPtrOutput values. You can construct a concrete instance of `ServiceDnsConfigPtrInput` via:
ServiceDnsConfigArgs{...} or: nil
func ServiceDnsConfigPtr ¶
func ServiceDnsConfigPtr(v *ServiceDnsConfigArgs) ServiceDnsConfigPtrInput
type ServiceDnsConfigPtrOutput ¶
type ServiceDnsConfigPtrOutput struct{ *pulumi.OutputState }
func (ServiceDnsConfigPtrOutput) DnsRecords ¶
func (o ServiceDnsConfigPtrOutput) DnsRecords() ServiceDnsConfigDnsRecordArrayOutput
An array that contains one DnsRecord object for each resource record set.
func (ServiceDnsConfigPtrOutput) Elem ¶
func (o ServiceDnsConfigPtrOutput) Elem() ServiceDnsConfigOutput
func (ServiceDnsConfigPtrOutput) ElementType ¶
func (ServiceDnsConfigPtrOutput) ElementType() reflect.Type
func (ServiceDnsConfigPtrOutput) NamespaceId ¶
func (o ServiceDnsConfigPtrOutput) NamespaceId() pulumi.StringPtrOutput
The ID of the namespace to use for DNS configuration.
func (ServiceDnsConfigPtrOutput) RoutingPolicy ¶
func (o ServiceDnsConfigPtrOutput) 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 (ServiceDnsConfigPtrOutput) ToServiceDnsConfigPtrOutput ¶
func (o ServiceDnsConfigPtrOutput) ToServiceDnsConfigPtrOutput() ServiceDnsConfigPtrOutput
func (ServiceDnsConfigPtrOutput) ToServiceDnsConfigPtrOutputWithContext ¶
func (o ServiceDnsConfigPtrOutput) ToServiceDnsConfigPtrOutputWithContext(ctx context.Context) ServiceDnsConfigPtrOutput
type ServiceHealthCheckConfig ¶
type ServiceHealthCheckConfig struct { // The number of consecutive health checks. 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 ¶
type ServiceHealthCheckConfigArgs struct { // The number of consecutive health checks. 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 ¶
func (ServiceHealthCheckConfigArgs) ElementType() reflect.Type
func (ServiceHealthCheckConfigArgs) ToServiceHealthCheckConfigOutput ¶
func (i ServiceHealthCheckConfigArgs) ToServiceHealthCheckConfigOutput() ServiceHealthCheckConfigOutput
func (ServiceHealthCheckConfigArgs) ToServiceHealthCheckConfigOutputWithContext ¶
func (i ServiceHealthCheckConfigArgs) ToServiceHealthCheckConfigOutputWithContext(ctx context.Context) ServiceHealthCheckConfigOutput
func (ServiceHealthCheckConfigArgs) ToServiceHealthCheckConfigPtrOutput ¶
func (i ServiceHealthCheckConfigArgs) ToServiceHealthCheckConfigPtrOutput() ServiceHealthCheckConfigPtrOutput
func (ServiceHealthCheckConfigArgs) ToServiceHealthCheckConfigPtrOutputWithContext ¶
func (i ServiceHealthCheckConfigArgs) ToServiceHealthCheckConfigPtrOutputWithContext(ctx context.Context) ServiceHealthCheckConfigPtrOutput
type ServiceHealthCheckConfigInput ¶
type ServiceHealthCheckConfigInput interface { pulumi.Input ToServiceHealthCheckConfigOutput() ServiceHealthCheckConfigOutput ToServiceHealthCheckConfigOutputWithContext(context.Context) ServiceHealthCheckConfigOutput }
ServiceHealthCheckConfigInput is an input type that accepts ServiceHealthCheckConfigArgs and ServiceHealthCheckConfigOutput values. You can construct a concrete instance of `ServiceHealthCheckConfigInput` via:
ServiceHealthCheckConfigArgs{...}
type ServiceHealthCheckConfigOutput ¶
type ServiceHealthCheckConfigOutput struct{ *pulumi.OutputState }
func (ServiceHealthCheckConfigOutput) ElementType ¶
func (ServiceHealthCheckConfigOutput) ElementType() reflect.Type
func (ServiceHealthCheckConfigOutput) FailureThreshold ¶
func (o ServiceHealthCheckConfigOutput) FailureThreshold() pulumi.IntPtrOutput
The number of consecutive health checks. Maximum value of 10.
func (ServiceHealthCheckConfigOutput) ResourcePath ¶
func (o ServiceHealthCheckConfigOutput) ResourcePath() pulumi.StringPtrOutput
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 ¶
func (o ServiceHealthCheckConfigOutput) ToServiceHealthCheckConfigOutput() ServiceHealthCheckConfigOutput
func (ServiceHealthCheckConfigOutput) ToServiceHealthCheckConfigOutputWithContext ¶
func (o ServiceHealthCheckConfigOutput) ToServiceHealthCheckConfigOutputWithContext(ctx context.Context) ServiceHealthCheckConfigOutput
func (ServiceHealthCheckConfigOutput) ToServiceHealthCheckConfigPtrOutput ¶
func (o ServiceHealthCheckConfigOutput) ToServiceHealthCheckConfigPtrOutput() ServiceHealthCheckConfigPtrOutput
func (ServiceHealthCheckConfigOutput) ToServiceHealthCheckConfigPtrOutputWithContext ¶
func (o ServiceHealthCheckConfigOutput) ToServiceHealthCheckConfigPtrOutputWithContext(ctx context.Context) ServiceHealthCheckConfigPtrOutput
func (ServiceHealthCheckConfigOutput) Type ¶
func (o ServiceHealthCheckConfigOutput) Type() pulumi.StringPtrOutput
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 ¶
type ServiceHealthCheckConfigPtrInput interface { pulumi.Input ToServiceHealthCheckConfigPtrOutput() ServiceHealthCheckConfigPtrOutput ToServiceHealthCheckConfigPtrOutputWithContext(context.Context) ServiceHealthCheckConfigPtrOutput }
ServiceHealthCheckConfigPtrInput is an input type that accepts ServiceHealthCheckConfigArgs, ServiceHealthCheckConfigPtr and ServiceHealthCheckConfigPtrOutput values. You can construct a concrete instance of `ServiceHealthCheckConfigPtrInput` via:
ServiceHealthCheckConfigArgs{...} or: nil
func ServiceHealthCheckConfigPtr ¶
func ServiceHealthCheckConfigPtr(v *ServiceHealthCheckConfigArgs) ServiceHealthCheckConfigPtrInput
type ServiceHealthCheckConfigPtrOutput ¶
type ServiceHealthCheckConfigPtrOutput struct{ *pulumi.OutputState }
func (ServiceHealthCheckConfigPtrOutput) Elem ¶
func (o ServiceHealthCheckConfigPtrOutput) Elem() ServiceHealthCheckConfigOutput
func (ServiceHealthCheckConfigPtrOutput) ElementType ¶
func (ServiceHealthCheckConfigPtrOutput) ElementType() reflect.Type
func (ServiceHealthCheckConfigPtrOutput) FailureThreshold ¶
func (o ServiceHealthCheckConfigPtrOutput) FailureThreshold() pulumi.IntPtrOutput
The number of consecutive health checks. Maximum value of 10.
func (ServiceHealthCheckConfigPtrOutput) ResourcePath ¶
func (o ServiceHealthCheckConfigPtrOutput) ResourcePath() pulumi.StringPtrOutput
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 ¶
func (o ServiceHealthCheckConfigPtrOutput) ToServiceHealthCheckConfigPtrOutput() ServiceHealthCheckConfigPtrOutput
func (ServiceHealthCheckConfigPtrOutput) ToServiceHealthCheckConfigPtrOutputWithContext ¶
func (o ServiceHealthCheckConfigPtrOutput) ToServiceHealthCheckConfigPtrOutputWithContext(ctx context.Context) ServiceHealthCheckConfigPtrOutput
func (ServiceHealthCheckConfigPtrOutput) Type ¶
func (o ServiceHealthCheckConfigPtrOutput) Type() pulumi.StringPtrOutput
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 ¶
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 ¶
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 ¶
func (ServiceHealthCheckCustomConfigArgs) ElementType() reflect.Type
func (ServiceHealthCheckCustomConfigArgs) ToServiceHealthCheckCustomConfigOutput ¶
func (i ServiceHealthCheckCustomConfigArgs) ToServiceHealthCheckCustomConfigOutput() ServiceHealthCheckCustomConfigOutput
func (ServiceHealthCheckCustomConfigArgs) ToServiceHealthCheckCustomConfigOutputWithContext ¶
func (i ServiceHealthCheckCustomConfigArgs) ToServiceHealthCheckCustomConfigOutputWithContext(ctx context.Context) ServiceHealthCheckCustomConfigOutput
func (ServiceHealthCheckCustomConfigArgs) ToServiceHealthCheckCustomConfigPtrOutput ¶
func (i ServiceHealthCheckCustomConfigArgs) ToServiceHealthCheckCustomConfigPtrOutput() ServiceHealthCheckCustomConfigPtrOutput
func (ServiceHealthCheckCustomConfigArgs) ToServiceHealthCheckCustomConfigPtrOutputWithContext ¶
func (i ServiceHealthCheckCustomConfigArgs) ToServiceHealthCheckCustomConfigPtrOutputWithContext(ctx context.Context) ServiceHealthCheckCustomConfigPtrOutput
type ServiceHealthCheckCustomConfigInput ¶
type ServiceHealthCheckCustomConfigInput interface { pulumi.Input ToServiceHealthCheckCustomConfigOutput() ServiceHealthCheckCustomConfigOutput ToServiceHealthCheckCustomConfigOutputWithContext(context.Context) ServiceHealthCheckCustomConfigOutput }
ServiceHealthCheckCustomConfigInput is an input type that accepts ServiceHealthCheckCustomConfigArgs and ServiceHealthCheckCustomConfigOutput values. You can construct a concrete instance of `ServiceHealthCheckCustomConfigInput` via:
ServiceHealthCheckCustomConfigArgs{...}
type ServiceHealthCheckCustomConfigOutput ¶
type ServiceHealthCheckCustomConfigOutput struct{ *pulumi.OutputState }
func (ServiceHealthCheckCustomConfigOutput) ElementType ¶
func (ServiceHealthCheckCustomConfigOutput) ElementType() reflect.Type
func (ServiceHealthCheckCustomConfigOutput) FailureThreshold ¶
func (o ServiceHealthCheckCustomConfigOutput) 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 (ServiceHealthCheckCustomConfigOutput) ToServiceHealthCheckCustomConfigOutput ¶
func (o ServiceHealthCheckCustomConfigOutput) ToServiceHealthCheckCustomConfigOutput() ServiceHealthCheckCustomConfigOutput
func (ServiceHealthCheckCustomConfigOutput) ToServiceHealthCheckCustomConfigOutputWithContext ¶
func (o ServiceHealthCheckCustomConfigOutput) ToServiceHealthCheckCustomConfigOutputWithContext(ctx context.Context) ServiceHealthCheckCustomConfigOutput
func (ServiceHealthCheckCustomConfigOutput) ToServiceHealthCheckCustomConfigPtrOutput ¶
func (o ServiceHealthCheckCustomConfigOutput) ToServiceHealthCheckCustomConfigPtrOutput() ServiceHealthCheckCustomConfigPtrOutput
func (ServiceHealthCheckCustomConfigOutput) ToServiceHealthCheckCustomConfigPtrOutputWithContext ¶
func (o ServiceHealthCheckCustomConfigOutput) ToServiceHealthCheckCustomConfigPtrOutputWithContext(ctx context.Context) ServiceHealthCheckCustomConfigPtrOutput
type ServiceHealthCheckCustomConfigPtrInput ¶
type ServiceHealthCheckCustomConfigPtrInput interface { pulumi.Input ToServiceHealthCheckCustomConfigPtrOutput() ServiceHealthCheckCustomConfigPtrOutput ToServiceHealthCheckCustomConfigPtrOutputWithContext(context.Context) ServiceHealthCheckCustomConfigPtrOutput }
ServiceHealthCheckCustomConfigPtrInput is an input type that accepts ServiceHealthCheckCustomConfigArgs, ServiceHealthCheckCustomConfigPtr and ServiceHealthCheckCustomConfigPtrOutput values. You can construct a concrete instance of `ServiceHealthCheckCustomConfigPtrInput` via:
ServiceHealthCheckCustomConfigArgs{...} or: nil
func ServiceHealthCheckCustomConfigPtr ¶
func ServiceHealthCheckCustomConfigPtr(v *ServiceHealthCheckCustomConfigArgs) ServiceHealthCheckCustomConfigPtrInput
type ServiceHealthCheckCustomConfigPtrOutput ¶
type ServiceHealthCheckCustomConfigPtrOutput struct{ *pulumi.OutputState }
func (ServiceHealthCheckCustomConfigPtrOutput) ElementType ¶
func (ServiceHealthCheckCustomConfigPtrOutput) ElementType() reflect.Type
func (ServiceHealthCheckCustomConfigPtrOutput) FailureThreshold ¶
func (o ServiceHealthCheckCustomConfigPtrOutput) 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 (ServiceHealthCheckCustomConfigPtrOutput) ToServiceHealthCheckCustomConfigPtrOutput ¶
func (o ServiceHealthCheckCustomConfigPtrOutput) ToServiceHealthCheckCustomConfigPtrOutput() ServiceHealthCheckCustomConfigPtrOutput
func (ServiceHealthCheckCustomConfigPtrOutput) ToServiceHealthCheckCustomConfigPtrOutputWithContext ¶
func (o ServiceHealthCheckCustomConfigPtrOutput) ToServiceHealthCheckCustomConfigPtrOutputWithContext(ctx context.Context) ServiceHealthCheckCustomConfigPtrOutput
type ServiceInput ¶
type ServiceInput interface { pulumi.Input ToServiceOutput() ServiceOutput ToServiceOutputWithContext(ctx context.Context) ServiceOutput }
type ServiceMap ¶
type ServiceMap map[string]ServiceInput
func (ServiceMap) ElementType ¶
func (ServiceMap) ElementType() reflect.Type
func (ServiceMap) ToServiceMapOutput ¶
func (i ServiceMap) ToServiceMapOutput() ServiceMapOutput
func (ServiceMap) ToServiceMapOutputWithContext ¶
func (i ServiceMap) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput
type ServiceMapInput ¶
type ServiceMapInput interface { pulumi.Input ToServiceMapOutput() ServiceMapOutput ToServiceMapOutputWithContext(context.Context) ServiceMapOutput }
ServiceMapInput is an input type that accepts ServiceMap and ServiceMapOutput values. You can construct a concrete instance of `ServiceMapInput` via:
ServiceMap{ "key": ServiceArgs{...} }
type ServiceMapOutput ¶
type ServiceMapOutput struct{ *pulumi.OutputState }
func (ServiceMapOutput) ElementType ¶
func (ServiceMapOutput) ElementType() reflect.Type
func (ServiceMapOutput) MapIndex ¶
func (o ServiceMapOutput) MapIndex(k pulumi.StringInput) ServiceOutput
func (ServiceMapOutput) ToServiceMapOutput ¶
func (o ServiceMapOutput) ToServiceMapOutput() ServiceMapOutput
func (ServiceMapOutput) ToServiceMapOutputWithContext ¶
func (o ServiceMapOutput) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput
type ServiceOutput ¶
type ServiceOutput struct{ *pulumi.OutputState }
func (ServiceOutput) Description ¶
func (o ServiceOutput) Description() pulumi.StringPtrOutput
The description of the service.
func (ServiceOutput) DnsConfig ¶
func (o ServiceOutput) DnsConfig() ServiceDnsConfigPtrOutput
A complex type that contains information about the resource record sets that you want Amazon Route 53 to create when you register an instance.
func (ServiceOutput) ElementType ¶
func (ServiceOutput) ElementType() reflect.Type
func (ServiceOutput) ForceDestroy ¶
func (o ServiceOutput) ForceDestroy() pulumi.BoolPtrOutput
A boolean that indicates all instances should be deleted from the service so that the service can be destroyed without error. These instances are not recoverable.
func (ServiceOutput) HealthCheckConfig ¶
func (o ServiceOutput) HealthCheckConfig() ServiceHealthCheckConfigPtrOutput
A complex type that contains settings for an optional health check. Only for Public DNS namespaces.
func (ServiceOutput) HealthCheckCustomConfig ¶
func (o ServiceOutput) HealthCheckCustomConfig() ServiceHealthCheckCustomConfigPtrOutput
A complex type that contains settings for ECS managed health checks.
func (ServiceOutput) Name ¶
func (o ServiceOutput) Name() pulumi.StringOutput
The name of the service.
func (ServiceOutput) NamespaceId ¶
func (o ServiceOutput) NamespaceId() pulumi.StringOutput
The ID of the namespace that you want to use to create the service.
func (ServiceOutput) Tags ¶
func (o ServiceOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the service. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (ServiceOutput) TagsAll
deprecated
func (o ServiceOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (ServiceOutput) ToServiceOutput ¶
func (o ServiceOutput) ToServiceOutput() ServiceOutput
func (ServiceOutput) ToServiceOutputWithContext ¶
func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
func (ServiceOutput) Type ¶
func (o ServiceOutput) Type() pulumi.StringOutput
If present, specifies that the service instances are only discoverable using the `DiscoverInstances` API operation. No DNS records is registered for the service instances. The only valid value is `HTTP`.
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 boolean that indicates all instances should be deleted from the service so that the service can be destroyed without error. These instances are not recoverable. ForceDestroy pulumi.BoolPtrInput // 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 that you want to use to create the service. NamespaceId pulumi.StringPtrInput // A map of tags to assign to the service. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput // If present, specifies that the service instances are only discoverable using the `DiscoverInstances` API operation. No DNS records is registered for the service instances. The only valid value is `HTTP`. Type pulumi.StringPtrInput }
func (ServiceState) ElementType ¶
func (ServiceState) ElementType() reflect.Type