Documentation ¶
Index ¶
- type HttpNamespace
- func (*HttpNamespace) ElementType() reflect.Type
- func (i *HttpNamespace) ToHttpNamespaceOutput() HttpNamespaceOutput
- func (i *HttpNamespace) ToHttpNamespaceOutputWithContext(ctx context.Context) HttpNamespaceOutput
- func (i *HttpNamespace) ToHttpNamespacePtrOutput() HttpNamespacePtrOutput
- func (i *HttpNamespace) ToHttpNamespacePtrOutputWithContext(ctx context.Context) HttpNamespacePtrOutput
- 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 (HttpNamespaceOutput) ElementType() reflect.Type
- func (o HttpNamespaceOutput) ToHttpNamespaceOutput() HttpNamespaceOutput
- func (o HttpNamespaceOutput) ToHttpNamespaceOutputWithContext(ctx context.Context) HttpNamespaceOutput
- func (o HttpNamespaceOutput) ToHttpNamespacePtrOutput() HttpNamespacePtrOutput
- func (o HttpNamespaceOutput) ToHttpNamespacePtrOutputWithContext(ctx context.Context) HttpNamespacePtrOutput
- type HttpNamespacePtrInput
- type HttpNamespacePtrOutput
- type HttpNamespaceState
- type PrivateDnsNamespace
- func (*PrivateDnsNamespace) ElementType() reflect.Type
- func (i *PrivateDnsNamespace) ToPrivateDnsNamespaceOutput() PrivateDnsNamespaceOutput
- func (i *PrivateDnsNamespace) ToPrivateDnsNamespaceOutputWithContext(ctx context.Context) PrivateDnsNamespaceOutput
- func (i *PrivateDnsNamespace) ToPrivateDnsNamespacePtrOutput() PrivateDnsNamespacePtrOutput
- func (i *PrivateDnsNamespace) ToPrivateDnsNamespacePtrOutputWithContext(ctx context.Context) PrivateDnsNamespacePtrOutput
- 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 (PrivateDnsNamespaceOutput) ElementType() reflect.Type
- func (o PrivateDnsNamespaceOutput) ToPrivateDnsNamespaceOutput() PrivateDnsNamespaceOutput
- func (o PrivateDnsNamespaceOutput) ToPrivateDnsNamespaceOutputWithContext(ctx context.Context) PrivateDnsNamespaceOutput
- func (o PrivateDnsNamespaceOutput) ToPrivateDnsNamespacePtrOutput() PrivateDnsNamespacePtrOutput
- func (o PrivateDnsNamespaceOutput) ToPrivateDnsNamespacePtrOutputWithContext(ctx context.Context) PrivateDnsNamespacePtrOutput
- type PrivateDnsNamespacePtrInput
- type PrivateDnsNamespacePtrOutput
- type PrivateDnsNamespaceState
- type PublicDnsNamespace
- func (*PublicDnsNamespace) ElementType() reflect.Type
- func (i *PublicDnsNamespace) ToPublicDnsNamespaceOutput() PublicDnsNamespaceOutput
- func (i *PublicDnsNamespace) ToPublicDnsNamespaceOutputWithContext(ctx context.Context) PublicDnsNamespaceOutput
- func (i *PublicDnsNamespace) ToPublicDnsNamespacePtrOutput() PublicDnsNamespacePtrOutput
- func (i *PublicDnsNamespace) ToPublicDnsNamespacePtrOutputWithContext(ctx context.Context) PublicDnsNamespacePtrOutput
- 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 (PublicDnsNamespaceOutput) ElementType() reflect.Type
- func (o PublicDnsNamespaceOutput) ToPublicDnsNamespaceOutput() PublicDnsNamespaceOutput
- func (o PublicDnsNamespaceOutput) ToPublicDnsNamespaceOutputWithContext(ctx context.Context) PublicDnsNamespaceOutput
- func (o PublicDnsNamespaceOutput) ToPublicDnsNamespacePtrOutput() PublicDnsNamespacePtrOutput
- func (o PublicDnsNamespaceOutput) ToPublicDnsNamespacePtrOutputWithContext(ctx context.Context) PublicDnsNamespacePtrOutput
- type PublicDnsNamespacePtrInput
- type PublicDnsNamespacePtrOutput
- type PublicDnsNamespaceState
- type Service
- func (*Service) ElementType() reflect.Type
- func (i *Service) ToServiceOutput() ServiceOutput
- func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
- func (i *Service) ToServicePtrOutput() ServicePtrOutput
- func (i *Service) ToServicePtrOutputWithContext(ctx context.Context) ServicePtrOutput
- 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 (ServiceOutput) ElementType() reflect.Type
- func (o ServiceOutput) ToServiceOutput() ServiceOutput
- func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
- func (o ServiceOutput) ToServicePtrOutput() ServicePtrOutput
- func (o ServiceOutput) ToServicePtrOutputWithContext(ctx context.Context) ServicePtrOutput
- type ServicePtrInput
- type ServicePtrOutput
- type ServiceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 the http namespace. Name pulumi.StringOutput `pulumi:"name"` // A map of tags to assign to the namespace. Tags pulumi.StringMapOutput `pulumi:"tags"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/servicediscovery" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := servicediscovery.NewHttpNamespace(ctx, "example", &servicediscovery.HttpNamespaceArgs{ Description: pulumi.String("example"), }) if err != nil { return err } return nil }) }
```
## Import
Service Discovery HTTP Namespace can be imported using the namespace ID, e.g.
```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 ¶ added in v3.13.0
func (*HttpNamespace) ElementType() reflect.Type
func (*HttpNamespace) ToHttpNamespaceOutput ¶ added in v3.13.0
func (i *HttpNamespace) ToHttpNamespaceOutput() HttpNamespaceOutput
func (*HttpNamespace) ToHttpNamespaceOutputWithContext ¶ added in v3.13.0
func (i *HttpNamespace) ToHttpNamespaceOutputWithContext(ctx context.Context) HttpNamespaceOutput
func (*HttpNamespace) ToHttpNamespacePtrOutput ¶ added in v3.25.0
func (i *HttpNamespace) ToHttpNamespacePtrOutput() HttpNamespacePtrOutput
func (*HttpNamespace) ToHttpNamespacePtrOutputWithContext ¶ added in v3.25.0
func (i *HttpNamespace) ToHttpNamespacePtrOutputWithContext(ctx context.Context) HttpNamespacePtrOutput
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. Tags pulumi.StringMapInput }
The set of arguments for constructing a HttpNamespace resource.
func (HttpNamespaceArgs) ElementType ¶
func (HttpNamespaceArgs) ElementType() reflect.Type
type HttpNamespaceArray ¶ added in v3.25.0
type HttpNamespaceArray []HttpNamespaceInput
func (HttpNamespaceArray) ElementType ¶ added in v3.25.0
func (HttpNamespaceArray) ElementType() reflect.Type
func (HttpNamespaceArray) ToHttpNamespaceArrayOutput ¶ added in v3.25.0
func (i HttpNamespaceArray) ToHttpNamespaceArrayOutput() HttpNamespaceArrayOutput
func (HttpNamespaceArray) ToHttpNamespaceArrayOutputWithContext ¶ added in v3.25.0
func (i HttpNamespaceArray) ToHttpNamespaceArrayOutputWithContext(ctx context.Context) HttpNamespaceArrayOutput
type HttpNamespaceArrayInput ¶ added in v3.25.0
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 ¶ added in v3.25.0
type HttpNamespaceArrayOutput struct{ *pulumi.OutputState }
func (HttpNamespaceArrayOutput) ElementType ¶ added in v3.25.0
func (HttpNamespaceArrayOutput) ElementType() reflect.Type
func (HttpNamespaceArrayOutput) Index ¶ added in v3.25.0
func (o HttpNamespaceArrayOutput) Index(i pulumi.IntInput) HttpNamespaceOutput
func (HttpNamespaceArrayOutput) ToHttpNamespaceArrayOutput ¶ added in v3.25.0
func (o HttpNamespaceArrayOutput) ToHttpNamespaceArrayOutput() HttpNamespaceArrayOutput
func (HttpNamespaceArrayOutput) ToHttpNamespaceArrayOutputWithContext ¶ added in v3.25.0
func (o HttpNamespaceArrayOutput) ToHttpNamespaceArrayOutputWithContext(ctx context.Context) HttpNamespaceArrayOutput
type HttpNamespaceInput ¶ added in v3.13.0
type HttpNamespaceInput interface { pulumi.Input ToHttpNamespaceOutput() HttpNamespaceOutput ToHttpNamespaceOutputWithContext(ctx context.Context) HttpNamespaceOutput }
type HttpNamespaceMap ¶ added in v3.25.0
type HttpNamespaceMap map[string]HttpNamespaceInput
func (HttpNamespaceMap) ElementType ¶ added in v3.25.0
func (HttpNamespaceMap) ElementType() reflect.Type
func (HttpNamespaceMap) ToHttpNamespaceMapOutput ¶ added in v3.25.0
func (i HttpNamespaceMap) ToHttpNamespaceMapOutput() HttpNamespaceMapOutput
func (HttpNamespaceMap) ToHttpNamespaceMapOutputWithContext ¶ added in v3.25.0
func (i HttpNamespaceMap) ToHttpNamespaceMapOutputWithContext(ctx context.Context) HttpNamespaceMapOutput
type HttpNamespaceMapInput ¶ added in v3.25.0
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 ¶ added in v3.25.0
type HttpNamespaceMapOutput struct{ *pulumi.OutputState }
func (HttpNamespaceMapOutput) ElementType ¶ added in v3.25.0
func (HttpNamespaceMapOutput) ElementType() reflect.Type
func (HttpNamespaceMapOutput) MapIndex ¶ added in v3.25.0
func (o HttpNamespaceMapOutput) MapIndex(k pulumi.StringInput) HttpNamespaceOutput
func (HttpNamespaceMapOutput) ToHttpNamespaceMapOutput ¶ added in v3.25.0
func (o HttpNamespaceMapOutput) ToHttpNamespaceMapOutput() HttpNamespaceMapOutput
func (HttpNamespaceMapOutput) ToHttpNamespaceMapOutputWithContext ¶ added in v3.25.0
func (o HttpNamespaceMapOutput) ToHttpNamespaceMapOutputWithContext(ctx context.Context) HttpNamespaceMapOutput
type HttpNamespaceOutput ¶ added in v3.13.0
type HttpNamespaceOutput struct {
*pulumi.OutputState
}
func (HttpNamespaceOutput) ElementType ¶ added in v3.13.0
func (HttpNamespaceOutput) ElementType() reflect.Type
func (HttpNamespaceOutput) ToHttpNamespaceOutput ¶ added in v3.13.0
func (o HttpNamespaceOutput) ToHttpNamespaceOutput() HttpNamespaceOutput
func (HttpNamespaceOutput) ToHttpNamespaceOutputWithContext ¶ added in v3.13.0
func (o HttpNamespaceOutput) ToHttpNamespaceOutputWithContext(ctx context.Context) HttpNamespaceOutput
func (HttpNamespaceOutput) ToHttpNamespacePtrOutput ¶ added in v3.25.0
func (o HttpNamespaceOutput) ToHttpNamespacePtrOutput() HttpNamespacePtrOutput
func (HttpNamespaceOutput) ToHttpNamespacePtrOutputWithContext ¶ added in v3.25.0
func (o HttpNamespaceOutput) ToHttpNamespacePtrOutputWithContext(ctx context.Context) HttpNamespacePtrOutput
type HttpNamespacePtrInput ¶ added in v3.25.0
type HttpNamespacePtrInput interface { pulumi.Input ToHttpNamespacePtrOutput() HttpNamespacePtrOutput ToHttpNamespacePtrOutputWithContext(ctx context.Context) HttpNamespacePtrOutput }
type HttpNamespacePtrOutput ¶ added in v3.25.0
type HttpNamespacePtrOutput struct {
*pulumi.OutputState
}
func (HttpNamespacePtrOutput) ElementType ¶ added in v3.25.0
func (HttpNamespacePtrOutput) ElementType() reflect.Type
func (HttpNamespacePtrOutput) ToHttpNamespacePtrOutput ¶ added in v3.25.0
func (o HttpNamespacePtrOutput) ToHttpNamespacePtrOutput() HttpNamespacePtrOutput
func (HttpNamespacePtrOutput) ToHttpNamespacePtrOutputWithContext ¶ added in v3.25.0
func (o HttpNamespacePtrOutput) ToHttpNamespacePtrOutputWithContext(ctx context.Context) HttpNamespacePtrOutput
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 the http namespace. Name pulumi.StringPtrInput // A map of tags to assign to the namespace. Tags pulumi.StringMapInput }
func (HttpNamespaceState) ElementType ¶
func (HttpNamespaceState) ElementType() reflect.Type
type PrivateDnsNamespace ¶
type PrivateDnsNamespace struct { pulumi.CustomResourceState // The ARN that Amazon Route 53 assigns to the namespace when you create it. Arn pulumi.StringOutput `pulumi:"arn"` // The description that you specify for the namespace when you create it. Description pulumi.StringPtrOutput `pulumi:"description"` // The ID for the hosted zone that Amazon Route 53 creates when you create a namespace. HostedZone pulumi.StringOutput `pulumi:"hostedZone"` // The name of the namespace. Name pulumi.StringOutput `pulumi:"name"` // A map of tags to assign to the namespace. Tags pulumi.StringMapOutput `pulumi:"tags"` // 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/v3/go/aws/ec2" "github.com/pulumi/pulumi-aws/sdk/v3/go/aws/servicediscovery" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleVpc, err := ec2.NewVpc(ctx, "exampleVpc", &ec2.VpcArgs{ CidrBlock: pulumi.String("10.0.0.0/16"), }) if err != nil { return err } _, err = servicediscovery.NewPrivateDnsNamespace(ctx, "examplePrivateDnsNamespace", &servicediscovery.PrivateDnsNamespaceArgs{ Description: pulumi.String("example"), Vpc: exampleVpc.ID(), }) if err != nil { return err } return nil }) }
```
## Import
Service Discovery Private DNS Namespace can be imported using the namespace ID and VPC ID, e.g.
```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 ¶ added in v3.13.0
func (*PrivateDnsNamespace) ElementType() reflect.Type
func (*PrivateDnsNamespace) ToPrivateDnsNamespaceOutput ¶ added in v3.13.0
func (i *PrivateDnsNamespace) ToPrivateDnsNamespaceOutput() PrivateDnsNamespaceOutput
func (*PrivateDnsNamespace) ToPrivateDnsNamespaceOutputWithContext ¶ added in v3.13.0
func (i *PrivateDnsNamespace) ToPrivateDnsNamespaceOutputWithContext(ctx context.Context) PrivateDnsNamespaceOutput
func (*PrivateDnsNamespace) ToPrivateDnsNamespacePtrOutput ¶ added in v3.25.0
func (i *PrivateDnsNamespace) ToPrivateDnsNamespacePtrOutput() PrivateDnsNamespacePtrOutput
func (*PrivateDnsNamespace) ToPrivateDnsNamespacePtrOutputWithContext ¶ added in v3.25.0
func (i *PrivateDnsNamespace) ToPrivateDnsNamespacePtrOutputWithContext(ctx context.Context) PrivateDnsNamespacePtrOutput
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. 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 ¶ added in v3.25.0
type PrivateDnsNamespaceArray []PrivateDnsNamespaceInput
func (PrivateDnsNamespaceArray) ElementType ¶ added in v3.25.0
func (PrivateDnsNamespaceArray) ElementType() reflect.Type
func (PrivateDnsNamespaceArray) ToPrivateDnsNamespaceArrayOutput ¶ added in v3.25.0
func (i PrivateDnsNamespaceArray) ToPrivateDnsNamespaceArrayOutput() PrivateDnsNamespaceArrayOutput
func (PrivateDnsNamespaceArray) ToPrivateDnsNamespaceArrayOutputWithContext ¶ added in v3.25.0
func (i PrivateDnsNamespaceArray) ToPrivateDnsNamespaceArrayOutputWithContext(ctx context.Context) PrivateDnsNamespaceArrayOutput
type PrivateDnsNamespaceArrayInput ¶ added in v3.25.0
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 ¶ added in v3.25.0
type PrivateDnsNamespaceArrayOutput struct{ *pulumi.OutputState }
func (PrivateDnsNamespaceArrayOutput) ElementType ¶ added in v3.25.0
func (PrivateDnsNamespaceArrayOutput) ElementType() reflect.Type
func (PrivateDnsNamespaceArrayOutput) Index ¶ added in v3.25.0
func (o PrivateDnsNamespaceArrayOutput) Index(i pulumi.IntInput) PrivateDnsNamespaceOutput
func (PrivateDnsNamespaceArrayOutput) ToPrivateDnsNamespaceArrayOutput ¶ added in v3.25.0
func (o PrivateDnsNamespaceArrayOutput) ToPrivateDnsNamespaceArrayOutput() PrivateDnsNamespaceArrayOutput
func (PrivateDnsNamespaceArrayOutput) ToPrivateDnsNamespaceArrayOutputWithContext ¶ added in v3.25.0
func (o PrivateDnsNamespaceArrayOutput) ToPrivateDnsNamespaceArrayOutputWithContext(ctx context.Context) PrivateDnsNamespaceArrayOutput
type PrivateDnsNamespaceInput ¶ added in v3.13.0
type PrivateDnsNamespaceInput interface { pulumi.Input ToPrivateDnsNamespaceOutput() PrivateDnsNamespaceOutput ToPrivateDnsNamespaceOutputWithContext(ctx context.Context) PrivateDnsNamespaceOutput }
type PrivateDnsNamespaceMap ¶ added in v3.25.0
type PrivateDnsNamespaceMap map[string]PrivateDnsNamespaceInput
func (PrivateDnsNamespaceMap) ElementType ¶ added in v3.25.0
func (PrivateDnsNamespaceMap) ElementType() reflect.Type
func (PrivateDnsNamespaceMap) ToPrivateDnsNamespaceMapOutput ¶ added in v3.25.0
func (i PrivateDnsNamespaceMap) ToPrivateDnsNamespaceMapOutput() PrivateDnsNamespaceMapOutput
func (PrivateDnsNamespaceMap) ToPrivateDnsNamespaceMapOutputWithContext ¶ added in v3.25.0
func (i PrivateDnsNamespaceMap) ToPrivateDnsNamespaceMapOutputWithContext(ctx context.Context) PrivateDnsNamespaceMapOutput
type PrivateDnsNamespaceMapInput ¶ added in v3.25.0
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 ¶ added in v3.25.0
type PrivateDnsNamespaceMapOutput struct{ *pulumi.OutputState }
func (PrivateDnsNamespaceMapOutput) ElementType ¶ added in v3.25.0
func (PrivateDnsNamespaceMapOutput) ElementType() reflect.Type
func (PrivateDnsNamespaceMapOutput) MapIndex ¶ added in v3.25.0
func (o PrivateDnsNamespaceMapOutput) MapIndex(k pulumi.StringInput) PrivateDnsNamespaceOutput
func (PrivateDnsNamespaceMapOutput) ToPrivateDnsNamespaceMapOutput ¶ added in v3.25.0
func (o PrivateDnsNamespaceMapOutput) ToPrivateDnsNamespaceMapOutput() PrivateDnsNamespaceMapOutput
func (PrivateDnsNamespaceMapOutput) ToPrivateDnsNamespaceMapOutputWithContext ¶ added in v3.25.0
func (o PrivateDnsNamespaceMapOutput) ToPrivateDnsNamespaceMapOutputWithContext(ctx context.Context) PrivateDnsNamespaceMapOutput
type PrivateDnsNamespaceOutput ¶ added in v3.13.0
type PrivateDnsNamespaceOutput struct {
*pulumi.OutputState
}
func (PrivateDnsNamespaceOutput) ElementType ¶ added in v3.13.0
func (PrivateDnsNamespaceOutput) ElementType() reflect.Type
func (PrivateDnsNamespaceOutput) ToPrivateDnsNamespaceOutput ¶ added in v3.13.0
func (o PrivateDnsNamespaceOutput) ToPrivateDnsNamespaceOutput() PrivateDnsNamespaceOutput
func (PrivateDnsNamespaceOutput) ToPrivateDnsNamespaceOutputWithContext ¶ added in v3.13.0
func (o PrivateDnsNamespaceOutput) ToPrivateDnsNamespaceOutputWithContext(ctx context.Context) PrivateDnsNamespaceOutput
func (PrivateDnsNamespaceOutput) ToPrivateDnsNamespacePtrOutput ¶ added in v3.25.0
func (o PrivateDnsNamespaceOutput) ToPrivateDnsNamespacePtrOutput() PrivateDnsNamespacePtrOutput
func (PrivateDnsNamespaceOutput) ToPrivateDnsNamespacePtrOutputWithContext ¶ added in v3.25.0
func (o PrivateDnsNamespaceOutput) ToPrivateDnsNamespacePtrOutputWithContext(ctx context.Context) PrivateDnsNamespacePtrOutput
type PrivateDnsNamespacePtrInput ¶ added in v3.25.0
type PrivateDnsNamespacePtrInput interface { pulumi.Input ToPrivateDnsNamespacePtrOutput() PrivateDnsNamespacePtrOutput ToPrivateDnsNamespacePtrOutputWithContext(ctx context.Context) PrivateDnsNamespacePtrOutput }
type PrivateDnsNamespacePtrOutput ¶ added in v3.25.0
type PrivateDnsNamespacePtrOutput struct {
*pulumi.OutputState
}
func (PrivateDnsNamespacePtrOutput) ElementType ¶ added in v3.25.0
func (PrivateDnsNamespacePtrOutput) ElementType() reflect.Type
func (PrivateDnsNamespacePtrOutput) ToPrivateDnsNamespacePtrOutput ¶ added in v3.25.0
func (o PrivateDnsNamespacePtrOutput) ToPrivateDnsNamespacePtrOutput() PrivateDnsNamespacePtrOutput
func (PrivateDnsNamespacePtrOutput) ToPrivateDnsNamespacePtrOutputWithContext ¶ added in v3.25.0
func (o PrivateDnsNamespacePtrOutput) ToPrivateDnsNamespacePtrOutputWithContext(ctx context.Context) PrivateDnsNamespacePtrOutput
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. Tags 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. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Provides a Service Discovery Public DNS Namespace resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/servicediscovery" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := servicediscovery.NewPublicDnsNamespace(ctx, "example", &servicediscovery.PublicDnsNamespaceArgs{ Description: pulumi.String("example"), }) if err != nil { return err } return nil }) }
```
## Import
Service Discovery Public DNS Namespace can be imported using the namespace ID, e.g.
```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 ¶ added in v3.13.0
func (*PublicDnsNamespace) ElementType() reflect.Type
func (*PublicDnsNamespace) ToPublicDnsNamespaceOutput ¶ added in v3.13.0
func (i *PublicDnsNamespace) ToPublicDnsNamespaceOutput() PublicDnsNamespaceOutput
func (*PublicDnsNamespace) ToPublicDnsNamespaceOutputWithContext ¶ added in v3.13.0
func (i *PublicDnsNamespace) ToPublicDnsNamespaceOutputWithContext(ctx context.Context) PublicDnsNamespaceOutput
func (*PublicDnsNamespace) ToPublicDnsNamespacePtrOutput ¶ added in v3.25.0
func (i *PublicDnsNamespace) ToPublicDnsNamespacePtrOutput() PublicDnsNamespacePtrOutput
func (*PublicDnsNamespace) ToPublicDnsNamespacePtrOutputWithContext ¶ added in v3.25.0
func (i *PublicDnsNamespace) ToPublicDnsNamespacePtrOutputWithContext(ctx context.Context) PublicDnsNamespacePtrOutput
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. Tags pulumi.StringMapInput }
The set of arguments for constructing a PublicDnsNamespace resource.
func (PublicDnsNamespaceArgs) ElementType ¶
func (PublicDnsNamespaceArgs) ElementType() reflect.Type
type PublicDnsNamespaceArray ¶ added in v3.25.0
type PublicDnsNamespaceArray []PublicDnsNamespaceInput
func (PublicDnsNamespaceArray) ElementType ¶ added in v3.25.0
func (PublicDnsNamespaceArray) ElementType() reflect.Type
func (PublicDnsNamespaceArray) ToPublicDnsNamespaceArrayOutput ¶ added in v3.25.0
func (i PublicDnsNamespaceArray) ToPublicDnsNamespaceArrayOutput() PublicDnsNamespaceArrayOutput
func (PublicDnsNamespaceArray) ToPublicDnsNamespaceArrayOutputWithContext ¶ added in v3.25.0
func (i PublicDnsNamespaceArray) ToPublicDnsNamespaceArrayOutputWithContext(ctx context.Context) PublicDnsNamespaceArrayOutput
type PublicDnsNamespaceArrayInput ¶ added in v3.25.0
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 ¶ added in v3.25.0
type PublicDnsNamespaceArrayOutput struct{ *pulumi.OutputState }
func (PublicDnsNamespaceArrayOutput) ElementType ¶ added in v3.25.0
func (PublicDnsNamespaceArrayOutput) ElementType() reflect.Type
func (PublicDnsNamespaceArrayOutput) Index ¶ added in v3.25.0
func (o PublicDnsNamespaceArrayOutput) Index(i pulumi.IntInput) PublicDnsNamespaceOutput
func (PublicDnsNamespaceArrayOutput) ToPublicDnsNamespaceArrayOutput ¶ added in v3.25.0
func (o PublicDnsNamespaceArrayOutput) ToPublicDnsNamespaceArrayOutput() PublicDnsNamespaceArrayOutput
func (PublicDnsNamespaceArrayOutput) ToPublicDnsNamespaceArrayOutputWithContext ¶ added in v3.25.0
func (o PublicDnsNamespaceArrayOutput) ToPublicDnsNamespaceArrayOutputWithContext(ctx context.Context) PublicDnsNamespaceArrayOutput
type PublicDnsNamespaceInput ¶ added in v3.13.0
type PublicDnsNamespaceInput interface { pulumi.Input ToPublicDnsNamespaceOutput() PublicDnsNamespaceOutput ToPublicDnsNamespaceOutputWithContext(ctx context.Context) PublicDnsNamespaceOutput }
type PublicDnsNamespaceMap ¶ added in v3.25.0
type PublicDnsNamespaceMap map[string]PublicDnsNamespaceInput
func (PublicDnsNamespaceMap) ElementType ¶ added in v3.25.0
func (PublicDnsNamespaceMap) ElementType() reflect.Type
func (PublicDnsNamespaceMap) ToPublicDnsNamespaceMapOutput ¶ added in v3.25.0
func (i PublicDnsNamespaceMap) ToPublicDnsNamespaceMapOutput() PublicDnsNamespaceMapOutput
func (PublicDnsNamespaceMap) ToPublicDnsNamespaceMapOutputWithContext ¶ added in v3.25.0
func (i PublicDnsNamespaceMap) ToPublicDnsNamespaceMapOutputWithContext(ctx context.Context) PublicDnsNamespaceMapOutput
type PublicDnsNamespaceMapInput ¶ added in v3.25.0
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 ¶ added in v3.25.0
type PublicDnsNamespaceMapOutput struct{ *pulumi.OutputState }
func (PublicDnsNamespaceMapOutput) ElementType ¶ added in v3.25.0
func (PublicDnsNamespaceMapOutput) ElementType() reflect.Type
func (PublicDnsNamespaceMapOutput) MapIndex ¶ added in v3.25.0
func (o PublicDnsNamespaceMapOutput) MapIndex(k pulumi.StringInput) PublicDnsNamespaceOutput
func (PublicDnsNamespaceMapOutput) ToPublicDnsNamespaceMapOutput ¶ added in v3.25.0
func (o PublicDnsNamespaceMapOutput) ToPublicDnsNamespaceMapOutput() PublicDnsNamespaceMapOutput
func (PublicDnsNamespaceMapOutput) ToPublicDnsNamespaceMapOutputWithContext ¶ added in v3.25.0
func (o PublicDnsNamespaceMapOutput) ToPublicDnsNamespaceMapOutputWithContext(ctx context.Context) PublicDnsNamespaceMapOutput
type PublicDnsNamespaceOutput ¶ added in v3.13.0
type PublicDnsNamespaceOutput struct {
*pulumi.OutputState
}
func (PublicDnsNamespaceOutput) ElementType ¶ added in v3.13.0
func (PublicDnsNamespaceOutput) ElementType() reflect.Type
func (PublicDnsNamespaceOutput) ToPublicDnsNamespaceOutput ¶ added in v3.13.0
func (o PublicDnsNamespaceOutput) ToPublicDnsNamespaceOutput() PublicDnsNamespaceOutput
func (PublicDnsNamespaceOutput) ToPublicDnsNamespaceOutputWithContext ¶ added in v3.13.0
func (o PublicDnsNamespaceOutput) ToPublicDnsNamespaceOutputWithContext(ctx context.Context) PublicDnsNamespaceOutput
func (PublicDnsNamespaceOutput) ToPublicDnsNamespacePtrOutput ¶ added in v3.25.0
func (o PublicDnsNamespaceOutput) ToPublicDnsNamespacePtrOutput() PublicDnsNamespacePtrOutput
func (PublicDnsNamespaceOutput) ToPublicDnsNamespacePtrOutputWithContext ¶ added in v3.25.0
func (o PublicDnsNamespaceOutput) ToPublicDnsNamespacePtrOutputWithContext(ctx context.Context) PublicDnsNamespacePtrOutput
type PublicDnsNamespacePtrInput ¶ added in v3.25.0
type PublicDnsNamespacePtrInput interface { pulumi.Input ToPublicDnsNamespacePtrOutput() PublicDnsNamespacePtrOutput ToPublicDnsNamespacePtrOutputWithContext(ctx context.Context) PublicDnsNamespacePtrOutput }
type PublicDnsNamespacePtrOutput ¶ added in v3.25.0
type PublicDnsNamespacePtrOutput struct {
*pulumi.OutputState
}
func (PublicDnsNamespacePtrOutput) ElementType ¶ added in v3.25.0
func (PublicDnsNamespacePtrOutput) ElementType() reflect.Type
func (PublicDnsNamespacePtrOutput) ToPublicDnsNamespacePtrOutput ¶ added in v3.25.0
func (o PublicDnsNamespacePtrOutput) ToPublicDnsNamespacePtrOutput() PublicDnsNamespacePtrOutput
func (PublicDnsNamespacePtrOutput) ToPublicDnsNamespacePtrOutputWithContext ¶ added in v3.25.0
func (o PublicDnsNamespacePtrOutput) ToPublicDnsNamespacePtrOutputWithContext(ctx context.Context) PublicDnsNamespacePtrOutput
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. Tags 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 complex type that contains settings for an optional health check. Only for Public DNS namespaces. HealthCheckConfig ServiceHealthCheckConfigPtrOutput `pulumi:"healthCheckConfig"` // A complex type that contains settings for ECS managed health checks. HealthCheckCustomConfig ServiceHealthCheckCustomConfigPtrOutput `pulumi:"healthCheckCustomConfig"` // The name of the service. Name pulumi.StringOutput `pulumi:"name"` // The ID of the namespace to use for DNS configuration. NamespaceId pulumi.StringOutput `pulumi:"namespaceId"` // A map of tags to assign to the service. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Provides a Service Discovery Service resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ec2" "github.com/pulumi/pulumi-aws/sdk/v3/go/aws/servicediscovery" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleVpc, err := ec2.NewVpc(ctx, "exampleVpc", &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, "examplePrivateDnsNamespace", &servicediscovery.PrivateDnsNamespaceArgs{ Description: pulumi.String("example"), Vpc: exampleVpc.ID(), }) if err != nil { return err } _, err = servicediscovery.NewService(ctx, "exampleService", &servicediscovery.ServiceArgs{ 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/v3/go/aws/servicediscovery" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { examplePublicDnsNamespace, err := servicediscovery.NewPublicDnsNamespace(ctx, "examplePublicDnsNamespace", &servicediscovery.PublicDnsNamespaceArgs{ Description: pulumi.String("example"), }) if err != nil { return err } _, err = servicediscovery.NewService(ctx, "exampleService", &servicediscovery.ServiceArgs{ DnsConfig: &servicediscovery.ServiceDnsConfigArgs{ NamespaceId: examplePublicDnsNamespace.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
Service Discovery Service can be imported using the service ID, e.g.
```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 ¶ added in v3.13.0
func (*Service) ToServiceOutput ¶ added in v3.13.0
func (i *Service) ToServiceOutput() ServiceOutput
func (*Service) ToServiceOutputWithContext ¶ added in v3.13.0
func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
func (*Service) ToServicePtrOutput ¶ added in v3.25.0
func (i *Service) ToServicePtrOutput() ServicePtrOutput
func (*Service) ToServicePtrOutputWithContext ¶ added in v3.25.0
func (i *Service) ToServicePtrOutputWithContext(ctx context.Context) ServicePtrOutput
type ServiceArgs ¶
type ServiceArgs struct { // The description of the service. Description pulumi.StringPtrInput // A complex type that contains information about the resource record sets that you want Amazon Route 53 to create when you register an instance. DnsConfig ServiceDnsConfigPtrInput // A complex type that contains settings for an optional health check. Only for Public DNS namespaces. HealthCheckConfig ServiceHealthCheckConfigPtrInput // A complex type that contains settings for ECS managed health checks. HealthCheckCustomConfig ServiceHealthCheckCustomConfigPtrInput // The name of the service. Name pulumi.StringPtrInput // The ID of the namespace to use for DNS configuration. NamespaceId pulumi.StringPtrInput // A map of tags to assign to the service. Tags pulumi.StringMapInput }
The set of arguments for constructing a Service resource.
func (ServiceArgs) ElementType ¶
func (ServiceArgs) ElementType() reflect.Type
type ServiceArray ¶ added in v3.25.0
type ServiceArray []ServiceInput
func (ServiceArray) ElementType ¶ added in v3.25.0
func (ServiceArray) ElementType() reflect.Type
func (ServiceArray) ToServiceArrayOutput ¶ added in v3.25.0
func (i ServiceArray) ToServiceArrayOutput() ServiceArrayOutput
func (ServiceArray) ToServiceArrayOutputWithContext ¶ added in v3.25.0
func (i ServiceArray) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput
type ServiceArrayInput ¶ added in v3.25.0
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 ¶ added in v3.25.0
type ServiceArrayOutput struct{ *pulumi.OutputState }
func (ServiceArrayOutput) ElementType ¶ added in v3.25.0
func (ServiceArrayOutput) ElementType() reflect.Type
func (ServiceArrayOutput) Index ¶ added in v3.25.0
func (o ServiceArrayOutput) Index(i pulumi.IntInput) ServiceOutput
func (ServiceArrayOutput) ToServiceArrayOutput ¶ added in v3.25.0
func (o ServiceArrayOutput) ToServiceArrayOutput() ServiceArrayOutput
func (ServiceArrayOutput) ToServiceArrayOutputWithContext ¶ added in v3.25.0
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 health check that you want to create, which indicates how Route 53 determines whether an endpoint is healthy. Valid Values: HTTP, HTTPS, TCP Type string `pulumi:"type"` }
type ServiceDnsConfigDnsRecordArgs ¶
type ServiceDnsConfigDnsRecordArgs struct { // The amount of time, in seconds, that you want DNS resolvers to cache the settings for this resource record set. Ttl pulumi.IntInput `pulumi:"ttl"` // The type of health check that you want to create, which indicates how Route 53 determines whether an endpoint is healthy. Valid Values: HTTP, HTTPS, TCP Type pulumi.StringInput `pulumi:"type"` }
func (ServiceDnsConfigDnsRecordArgs) ElementType ¶
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 health check that you want to create, which indicates how Route 53 determines whether an endpoint is healthy. Valid Values: HTTP, HTTPS, TCP
type ServiceDnsConfigInput ¶
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 30-second intervals that you want service discovery to wait before it changes the health status of a service instance. Maximum value of 10. FailureThreshold *int `pulumi:"failureThreshold"` // The path that you want Route 53 to request when performing health checks. Route 53 automatically adds the DNS name for the service. If you don't specify a value, the default value is /. ResourcePath *string `pulumi:"resourcePath"` // The type of health check that you want to create, which indicates how Route 53 determines whether an endpoint is healthy. Valid Values: HTTP, HTTPS, TCP Type *string `pulumi:"type"` }
type ServiceHealthCheckConfigArgs ¶
type ServiceHealthCheckConfigArgs struct { // The number of 30-second intervals that you want service discovery to wait before it changes the health status of a service instance. Maximum value of 10. FailureThreshold pulumi.IntPtrInput `pulumi:"failureThreshold"` // The path that you want Route 53 to request when performing health checks. Route 53 automatically adds the DNS name for the service. If you don't specify a value, the default value is /. ResourcePath pulumi.StringPtrInput `pulumi:"resourcePath"` // The type of health check that you want to create, which indicates how Route 53 determines whether an endpoint is healthy. Valid Values: HTTP, HTTPS, TCP Type pulumi.StringPtrInput `pulumi:"type"` }
func (ServiceHealthCheckConfigArgs) ElementType ¶
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 30-second intervals that you want service discovery to wait before it changes the health status of a service instance. Maximum value of 10.
func (ServiceHealthCheckConfigOutput) ResourcePath ¶
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 30-second intervals that you want service discovery to wait before it changes the health status of a service instance. Maximum value of 10.
func (ServiceHealthCheckConfigPtrOutput) ResourcePath ¶
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 ¶ added in v3.13.0
type ServiceInput interface { pulumi.Input ToServiceOutput() ServiceOutput ToServiceOutputWithContext(ctx context.Context) ServiceOutput }
type ServiceMap ¶ added in v3.25.0
type ServiceMap map[string]ServiceInput
func (ServiceMap) ElementType ¶ added in v3.25.0
func (ServiceMap) ElementType() reflect.Type
func (ServiceMap) ToServiceMapOutput ¶ added in v3.25.0
func (i ServiceMap) ToServiceMapOutput() ServiceMapOutput
func (ServiceMap) ToServiceMapOutputWithContext ¶ added in v3.25.0
func (i ServiceMap) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput
type ServiceMapInput ¶ added in v3.25.0
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 ¶ added in v3.25.0
type ServiceMapOutput struct{ *pulumi.OutputState }
func (ServiceMapOutput) ElementType ¶ added in v3.25.0
func (ServiceMapOutput) ElementType() reflect.Type
func (ServiceMapOutput) MapIndex ¶ added in v3.25.0
func (o ServiceMapOutput) MapIndex(k pulumi.StringInput) ServiceOutput
func (ServiceMapOutput) ToServiceMapOutput ¶ added in v3.25.0
func (o ServiceMapOutput) ToServiceMapOutput() ServiceMapOutput
func (ServiceMapOutput) ToServiceMapOutputWithContext ¶ added in v3.25.0
func (o ServiceMapOutput) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput
type ServiceOutput ¶ added in v3.13.0
type ServiceOutput struct {
*pulumi.OutputState
}
func (ServiceOutput) ElementType ¶ added in v3.13.0
func (ServiceOutput) ElementType() reflect.Type
func (ServiceOutput) ToServiceOutput ¶ added in v3.13.0
func (o ServiceOutput) ToServiceOutput() ServiceOutput
func (ServiceOutput) ToServiceOutputWithContext ¶ added in v3.13.0
func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
func (ServiceOutput) ToServicePtrOutput ¶ added in v3.25.0
func (o ServiceOutput) ToServicePtrOutput() ServicePtrOutput
func (ServiceOutput) ToServicePtrOutputWithContext ¶ added in v3.25.0
func (o ServiceOutput) ToServicePtrOutputWithContext(ctx context.Context) ServicePtrOutput
type ServicePtrInput ¶ added in v3.25.0
type ServicePtrInput interface { pulumi.Input ToServicePtrOutput() ServicePtrOutput ToServicePtrOutputWithContext(ctx context.Context) ServicePtrOutput }
type ServicePtrOutput ¶ added in v3.25.0
type ServicePtrOutput struct {
*pulumi.OutputState
}
func (ServicePtrOutput) ElementType ¶ added in v3.25.0
func (ServicePtrOutput) ElementType() reflect.Type
func (ServicePtrOutput) ToServicePtrOutput ¶ added in v3.25.0
func (o ServicePtrOutput) ToServicePtrOutput() ServicePtrOutput
func (ServicePtrOutput) ToServicePtrOutputWithContext ¶ added in v3.25.0
func (o ServicePtrOutput) ToServicePtrOutputWithContext(ctx context.Context) ServicePtrOutput
type ServiceState ¶
type ServiceState struct { // The ARN of the service. Arn pulumi.StringPtrInput // The description of the service. Description pulumi.StringPtrInput // A complex type that contains information about the resource record sets that you want Amazon Route 53 to create when you register an instance. DnsConfig ServiceDnsConfigPtrInput // A complex type that contains settings for an optional health check. Only for Public DNS namespaces. HealthCheckConfig ServiceHealthCheckConfigPtrInput // A complex type that contains settings for ECS managed health checks. HealthCheckCustomConfig ServiceHealthCheckCustomConfigPtrInput // The name of the service. Name pulumi.StringPtrInput // The ID of the namespace to use for DNS configuration. NamespaceId pulumi.StringPtrInput // A map of tags to assign to the service. Tags pulumi.StringMapInput }
func (ServiceState) ElementType ¶
func (ServiceState) ElementType() reflect.Type