Documentation
¶
Index ¶
- type GetServiceDnsEntry
- type GetServiceDnsEntryArgs
- type GetServiceDnsEntryArray
- type GetServiceDnsEntryArrayInput
- type GetServiceDnsEntryArrayOutput
- func (GetServiceDnsEntryArrayOutput) ElementType() reflect.Type
- func (o GetServiceDnsEntryArrayOutput) Index(i pulumi.IntInput) GetServiceDnsEntryOutput
- func (o GetServiceDnsEntryArrayOutput) ToGetServiceDnsEntryArrayOutput() GetServiceDnsEntryArrayOutput
- func (o GetServiceDnsEntryArrayOutput) ToGetServiceDnsEntryArrayOutputWithContext(ctx context.Context) GetServiceDnsEntryArrayOutput
- type GetServiceDnsEntryInput
- type GetServiceDnsEntryOutput
- func (o GetServiceDnsEntryOutput) DomainName() pulumi.StringOutput
- func (GetServiceDnsEntryOutput) ElementType() reflect.Type
- func (o GetServiceDnsEntryOutput) HostedZoneId() pulumi.StringOutput
- func (o GetServiceDnsEntryOutput) ToGetServiceDnsEntryOutput() GetServiceDnsEntryOutput
- func (o GetServiceDnsEntryOutput) ToGetServiceDnsEntryOutputWithContext(ctx context.Context) GetServiceDnsEntryOutput
- type LookupServiceArgs
- type LookupServiceOutputArgs
- type LookupServiceResult
- type LookupServiceResultOutput
- func (o LookupServiceResultOutput) Arn() pulumi.StringOutput
- func (o LookupServiceResultOutput) AuthType() pulumi.StringOutput
- func (o LookupServiceResultOutput) CertificateArn() pulumi.StringOutput
- func (o LookupServiceResultOutput) CustomDomainName() pulumi.StringOutput
- func (o LookupServiceResultOutput) DnsEntries() GetServiceDnsEntryArrayOutput
- func (LookupServiceResultOutput) ElementType() reflect.Type
- func (o LookupServiceResultOutput) Id() pulumi.StringOutput
- func (o LookupServiceResultOutput) Name() pulumi.StringOutput
- func (o LookupServiceResultOutput) ServiceIdentifier() pulumi.StringOutput
- func (o LookupServiceResultOutput) Status() pulumi.StringOutput
- func (o LookupServiceResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupServiceResultOutput) ToLookupServiceResultOutput() LookupServiceResultOutput
- func (o LookupServiceResultOutput) ToLookupServiceResultOutputWithContext(ctx context.Context) LookupServiceResultOutput
- type Service
- type ServiceArgs
- type ServiceArray
- type ServiceArrayInput
- type ServiceArrayOutput
- type ServiceDnsEntry
- type ServiceDnsEntryArgs
- type ServiceDnsEntryArray
- type ServiceDnsEntryArrayInput
- type ServiceDnsEntryArrayOutput
- func (ServiceDnsEntryArrayOutput) ElementType() reflect.Type
- func (o ServiceDnsEntryArrayOutput) Index(i pulumi.IntInput) ServiceDnsEntryOutput
- func (o ServiceDnsEntryArrayOutput) ToServiceDnsEntryArrayOutput() ServiceDnsEntryArrayOutput
- func (o ServiceDnsEntryArrayOutput) ToServiceDnsEntryArrayOutputWithContext(ctx context.Context) ServiceDnsEntryArrayOutput
- type ServiceDnsEntryInput
- type ServiceDnsEntryOutput
- func (o ServiceDnsEntryOutput) DomainName() pulumi.StringPtrOutput
- func (ServiceDnsEntryOutput) ElementType() reflect.Type
- func (o ServiceDnsEntryOutput) HostedZoneId() pulumi.StringPtrOutput
- func (o ServiceDnsEntryOutput) ToServiceDnsEntryOutput() ServiceDnsEntryOutput
- func (o ServiceDnsEntryOutput) ToServiceDnsEntryOutputWithContext(ctx context.Context) ServiceDnsEntryOutput
- type ServiceInput
- type ServiceMap
- type ServiceMapInput
- type ServiceMapOutput
- type ServiceNetwork
- type ServiceNetworkArgs
- type ServiceNetworkArray
- type ServiceNetworkArrayInput
- type ServiceNetworkArrayOutput
- func (ServiceNetworkArrayOutput) ElementType() reflect.Type
- func (o ServiceNetworkArrayOutput) Index(i pulumi.IntInput) ServiceNetworkOutput
- func (o ServiceNetworkArrayOutput) ToServiceNetworkArrayOutput() ServiceNetworkArrayOutput
- func (o ServiceNetworkArrayOutput) ToServiceNetworkArrayOutputWithContext(ctx context.Context) ServiceNetworkArrayOutput
- type ServiceNetworkInput
- type ServiceNetworkMap
- type ServiceNetworkMapInput
- type ServiceNetworkMapOutput
- func (ServiceNetworkMapOutput) ElementType() reflect.Type
- func (o ServiceNetworkMapOutput) MapIndex(k pulumi.StringInput) ServiceNetworkOutput
- func (o ServiceNetworkMapOutput) ToServiceNetworkMapOutput() ServiceNetworkMapOutput
- func (o ServiceNetworkMapOutput) ToServiceNetworkMapOutputWithContext(ctx context.Context) ServiceNetworkMapOutput
- type ServiceNetworkOutput
- func (o ServiceNetworkOutput) Arn() pulumi.StringOutput
- func (o ServiceNetworkOutput) AuthType() pulumi.StringOutput
- func (ServiceNetworkOutput) ElementType() reflect.Type
- func (o ServiceNetworkOutput) Name() pulumi.StringOutput
- func (o ServiceNetworkOutput) Tags() pulumi.StringMapOutput
- func (o ServiceNetworkOutput) TagsAll() pulumi.StringMapOutput
- func (o ServiceNetworkOutput) ToServiceNetworkOutput() ServiceNetworkOutput
- func (o ServiceNetworkOutput) ToServiceNetworkOutputWithContext(ctx context.Context) ServiceNetworkOutput
- type ServiceNetworkState
- type ServiceOutput
- func (o ServiceOutput) Arn() pulumi.StringOutput
- func (o ServiceOutput) AuthType() pulumi.StringOutput
- func (o ServiceOutput) CertificateArn() pulumi.StringPtrOutput
- func (o ServiceOutput) CustomDomainName() pulumi.StringPtrOutput
- func (o ServiceOutput) DnsEntries() ServiceDnsEntryArrayOutput
- func (ServiceOutput) ElementType() reflect.Type
- func (o ServiceOutput) Name() pulumi.StringOutput
- func (o ServiceOutput) Status() pulumi.StringOutput
- func (o ServiceOutput) Tags() pulumi.StringMapOutput
- func (o ServiceOutput) TagsAll() pulumi.StringMapOutput
- func (o ServiceOutput) ToServiceOutput() ServiceOutput
- func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
- type ServiceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetServiceDnsEntry ¶
type GetServiceDnsEntryArgs ¶
type GetServiceDnsEntryArgs struct {
DomainName pulumi.StringInput `pulumi:"domainName"`
HostedZoneId pulumi.StringInput `pulumi:"hostedZoneId"`
}
func (GetServiceDnsEntryArgs) ElementType ¶
func (GetServiceDnsEntryArgs) ElementType() reflect.Type
func (GetServiceDnsEntryArgs) ToGetServiceDnsEntryOutput ¶
func (i GetServiceDnsEntryArgs) ToGetServiceDnsEntryOutput() GetServiceDnsEntryOutput
func (GetServiceDnsEntryArgs) ToGetServiceDnsEntryOutputWithContext ¶
func (i GetServiceDnsEntryArgs) ToGetServiceDnsEntryOutputWithContext(ctx context.Context) GetServiceDnsEntryOutput
type GetServiceDnsEntryArray ¶
type GetServiceDnsEntryArray []GetServiceDnsEntryInput
func (GetServiceDnsEntryArray) ElementType ¶
func (GetServiceDnsEntryArray) ElementType() reflect.Type
func (GetServiceDnsEntryArray) ToGetServiceDnsEntryArrayOutput ¶
func (i GetServiceDnsEntryArray) ToGetServiceDnsEntryArrayOutput() GetServiceDnsEntryArrayOutput
func (GetServiceDnsEntryArray) ToGetServiceDnsEntryArrayOutputWithContext ¶
func (i GetServiceDnsEntryArray) ToGetServiceDnsEntryArrayOutputWithContext(ctx context.Context) GetServiceDnsEntryArrayOutput
type GetServiceDnsEntryArrayInput ¶
type GetServiceDnsEntryArrayInput interface {
pulumi.Input
ToGetServiceDnsEntryArrayOutput() GetServiceDnsEntryArrayOutput
ToGetServiceDnsEntryArrayOutputWithContext(context.Context) GetServiceDnsEntryArrayOutput
}
GetServiceDnsEntryArrayInput is an input type that accepts GetServiceDnsEntryArray and GetServiceDnsEntryArrayOutput values. You can construct a concrete instance of `GetServiceDnsEntryArrayInput` via:
GetServiceDnsEntryArray{ GetServiceDnsEntryArgs{...} }
type GetServiceDnsEntryArrayOutput ¶
type GetServiceDnsEntryArrayOutput struct{ *pulumi.OutputState }
func (GetServiceDnsEntryArrayOutput) ElementType ¶
func (GetServiceDnsEntryArrayOutput) ElementType() reflect.Type
func (GetServiceDnsEntryArrayOutput) Index ¶
func (o GetServiceDnsEntryArrayOutput) Index(i pulumi.IntInput) GetServiceDnsEntryOutput
func (GetServiceDnsEntryArrayOutput) ToGetServiceDnsEntryArrayOutput ¶
func (o GetServiceDnsEntryArrayOutput) ToGetServiceDnsEntryArrayOutput() GetServiceDnsEntryArrayOutput
func (GetServiceDnsEntryArrayOutput) ToGetServiceDnsEntryArrayOutputWithContext ¶
func (o GetServiceDnsEntryArrayOutput) ToGetServiceDnsEntryArrayOutputWithContext(ctx context.Context) GetServiceDnsEntryArrayOutput
type GetServiceDnsEntryInput ¶
type GetServiceDnsEntryInput interface {
pulumi.Input
ToGetServiceDnsEntryOutput() GetServiceDnsEntryOutput
ToGetServiceDnsEntryOutputWithContext(context.Context) GetServiceDnsEntryOutput
}
GetServiceDnsEntryInput is an input type that accepts GetServiceDnsEntryArgs and GetServiceDnsEntryOutput values. You can construct a concrete instance of `GetServiceDnsEntryInput` via:
GetServiceDnsEntryArgs{...}
type GetServiceDnsEntryOutput ¶
type GetServiceDnsEntryOutput struct{ *pulumi.OutputState }
func (GetServiceDnsEntryOutput) DomainName ¶
func (o GetServiceDnsEntryOutput) DomainName() pulumi.StringOutput
func (GetServiceDnsEntryOutput) ElementType ¶
func (GetServiceDnsEntryOutput) ElementType() reflect.Type
func (GetServiceDnsEntryOutput) HostedZoneId ¶
func (o GetServiceDnsEntryOutput) HostedZoneId() pulumi.StringOutput
func (GetServiceDnsEntryOutput) ToGetServiceDnsEntryOutput ¶
func (o GetServiceDnsEntryOutput) ToGetServiceDnsEntryOutput() GetServiceDnsEntryOutput
func (GetServiceDnsEntryOutput) ToGetServiceDnsEntryOutputWithContext ¶
func (o GetServiceDnsEntryOutput) ToGetServiceDnsEntryOutputWithContext(ctx context.Context) GetServiceDnsEntryOutput
type LookupServiceArgs ¶
type LookupServiceArgs struct {
// ID or Amazon Resource Name (ARN) of the service network
ServiceIdentifier string `pulumi:"serviceIdentifier"`
// List of tags associated with the service.
Tags map[string]string `pulumi:"tags"`
}
A collection of arguments for invoking getService.
type LookupServiceOutputArgs ¶
type LookupServiceOutputArgs struct {
// ID or Amazon Resource Name (ARN) of the service network
ServiceIdentifier pulumi.StringInput `pulumi:"serviceIdentifier"`
// List of tags associated with the service.
Tags pulumi.StringMapInput `pulumi:"tags"`
}
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"`
// Type of IAM policy. Either `NONE` or `AWS_IAM`.
AuthType string `pulumi:"authType"`
// Amazon Resource Name (ARN) of the certificate.
CertificateArn string `pulumi:"certificateArn"`
// Custom domain name of the service.
CustomDomainName string `pulumi:"customDomainName"`
// DNS name of the service.
DnsEntries []GetServiceDnsEntry `pulumi:"dnsEntries"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
Name string `pulumi:"name"`
ServiceIdentifier string `pulumi:"serviceIdentifier"`
// Status of the service.
Status string `pulumi:"status"`
// List of tags associated with the service.
Tags map[string]string `pulumi:"tags"`
}
A collection of values returned by getService.
func LookupService ¶
func LookupService(ctx *pulumi.Context, args *LookupServiceArgs, opts ...pulumi.InvokeOption) (*LookupServiceResult, error)
Data source for managing an AWS VPC Lattice Service.
## Example Usage ### Basic Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/vpclattice" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vpclattice.LookupService(ctx, nil, 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) AuthType ¶
func (o LookupServiceResultOutput) AuthType() pulumi.StringOutput
Type of IAM policy. Either `NONE` or `AWS_IAM`.
func (LookupServiceResultOutput) CertificateArn ¶
func (o LookupServiceResultOutput) CertificateArn() pulumi.StringOutput
Amazon Resource Name (ARN) of the certificate.
func (LookupServiceResultOutput) CustomDomainName ¶
func (o LookupServiceResultOutput) CustomDomainName() pulumi.StringOutput
Custom domain name of the service.
func (LookupServiceResultOutput) DnsEntries ¶
func (o LookupServiceResultOutput) DnsEntries() GetServiceDnsEntryArrayOutput
DNS name of the service.
func (LookupServiceResultOutput) ElementType ¶
func (LookupServiceResultOutput) ElementType() reflect.Type
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) ServiceIdentifier ¶
func (o LookupServiceResultOutput) ServiceIdentifier() pulumi.StringOutput
func (LookupServiceResultOutput) Status ¶
func (o LookupServiceResultOutput) Status() pulumi.StringOutput
Status of the service.
func (LookupServiceResultOutput) Tags ¶
func (o LookupServiceResultOutput) Tags() pulumi.StringMapOutput
List of tags associated with the service.
func (LookupServiceResultOutput) ToLookupServiceResultOutput ¶
func (o LookupServiceResultOutput) ToLookupServiceResultOutput() LookupServiceResultOutput
func (LookupServiceResultOutput) ToLookupServiceResultOutputWithContext ¶
func (o LookupServiceResultOutput) ToLookupServiceResultOutputWithContext(ctx context.Context) LookupServiceResultOutput
type Service ¶
type Service struct {
pulumi.CustomResourceState
// ARN of the service. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.
Arn pulumi.StringOutput `pulumi:"arn"`
// Type of IAM policy. Either `NONE` or `AWS_IAM`.
AuthType pulumi.StringOutput `pulumi:"authType"`
// Amazon Resource Name (ARN) of the certificate.
CertificateArn pulumi.StringPtrOutput `pulumi:"certificateArn"`
// Custom domain name of the service.
CustomDomainName pulumi.StringPtrOutput `pulumi:"customDomainName"`
// Concise description. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.
DnsEntries ServiceDnsEntryArrayOutput `pulumi:"dnsEntries"`
// Name of the service. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.Must be between 3 and 40 characters in length.
Name pulumi.StringOutput `pulumi:"name"`
// Status of the service.
Status pulumi.StringOutput `pulumi:"status"`
// Key-value mapping of resource tags. 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"`
// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}
Resource for managing an AWS VPC Lattice Service.
## Example Usage ### Basic Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/vpclattice" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vpclattice.NewService(ctx, "example", &vpclattice.ServiceArgs{
AuthType: pulumi.String("AWS_IAM"),
CustomDomainName: pulumi.String("example.com"),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
VPC Lattice Service can be imported using the `id`, e.g.,
```sh
$ pulumi import aws:vpclattice/service:Service example svc-06728e2357ea55f8a
```
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 {
// Type of IAM policy. Either `NONE` or `AWS_IAM`.
AuthType pulumi.StringPtrInput
// Amazon Resource Name (ARN) of the certificate.
CertificateArn pulumi.StringPtrInput
// Custom domain name of the service.
CustomDomainName pulumi.StringPtrInput
// Name of the service. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.Must be between 3 and 40 characters in length.
Name pulumi.StringPtrInput
// Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapInput
}
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 ServiceDnsEntry ¶
type ServiceDnsEntryArgs ¶
type ServiceDnsEntryArgs struct {
DomainName pulumi.StringPtrInput `pulumi:"domainName"`
HostedZoneId pulumi.StringPtrInput `pulumi:"hostedZoneId"`
}
func (ServiceDnsEntryArgs) ElementType ¶
func (ServiceDnsEntryArgs) ElementType() reflect.Type
func (ServiceDnsEntryArgs) ToServiceDnsEntryOutput ¶
func (i ServiceDnsEntryArgs) ToServiceDnsEntryOutput() ServiceDnsEntryOutput
func (ServiceDnsEntryArgs) ToServiceDnsEntryOutputWithContext ¶
func (i ServiceDnsEntryArgs) ToServiceDnsEntryOutputWithContext(ctx context.Context) ServiceDnsEntryOutput
type ServiceDnsEntryArray ¶
type ServiceDnsEntryArray []ServiceDnsEntryInput
func (ServiceDnsEntryArray) ElementType ¶
func (ServiceDnsEntryArray) ElementType() reflect.Type
func (ServiceDnsEntryArray) ToServiceDnsEntryArrayOutput ¶
func (i ServiceDnsEntryArray) ToServiceDnsEntryArrayOutput() ServiceDnsEntryArrayOutput
func (ServiceDnsEntryArray) ToServiceDnsEntryArrayOutputWithContext ¶
func (i ServiceDnsEntryArray) ToServiceDnsEntryArrayOutputWithContext(ctx context.Context) ServiceDnsEntryArrayOutput
type ServiceDnsEntryArrayInput ¶
type ServiceDnsEntryArrayInput interface {
pulumi.Input
ToServiceDnsEntryArrayOutput() ServiceDnsEntryArrayOutput
ToServiceDnsEntryArrayOutputWithContext(context.Context) ServiceDnsEntryArrayOutput
}
ServiceDnsEntryArrayInput is an input type that accepts ServiceDnsEntryArray and ServiceDnsEntryArrayOutput values. You can construct a concrete instance of `ServiceDnsEntryArrayInput` via:
ServiceDnsEntryArray{ ServiceDnsEntryArgs{...} }
type ServiceDnsEntryArrayOutput ¶
type ServiceDnsEntryArrayOutput struct{ *pulumi.OutputState }
func (ServiceDnsEntryArrayOutput) ElementType ¶
func (ServiceDnsEntryArrayOutput) ElementType() reflect.Type
func (ServiceDnsEntryArrayOutput) Index ¶
func (o ServiceDnsEntryArrayOutput) Index(i pulumi.IntInput) ServiceDnsEntryOutput
func (ServiceDnsEntryArrayOutput) ToServiceDnsEntryArrayOutput ¶
func (o ServiceDnsEntryArrayOutput) ToServiceDnsEntryArrayOutput() ServiceDnsEntryArrayOutput
func (ServiceDnsEntryArrayOutput) ToServiceDnsEntryArrayOutputWithContext ¶
func (o ServiceDnsEntryArrayOutput) ToServiceDnsEntryArrayOutputWithContext(ctx context.Context) ServiceDnsEntryArrayOutput
type ServiceDnsEntryInput ¶
type ServiceDnsEntryInput interface {
pulumi.Input
ToServiceDnsEntryOutput() ServiceDnsEntryOutput
ToServiceDnsEntryOutputWithContext(context.Context) ServiceDnsEntryOutput
}
ServiceDnsEntryInput is an input type that accepts ServiceDnsEntryArgs and ServiceDnsEntryOutput values. You can construct a concrete instance of `ServiceDnsEntryInput` via:
ServiceDnsEntryArgs{...}
type ServiceDnsEntryOutput ¶
type ServiceDnsEntryOutput struct{ *pulumi.OutputState }
func (ServiceDnsEntryOutput) DomainName ¶
func (o ServiceDnsEntryOutput) DomainName() pulumi.StringPtrOutput
func (ServiceDnsEntryOutput) ElementType ¶
func (ServiceDnsEntryOutput) ElementType() reflect.Type
func (ServiceDnsEntryOutput) HostedZoneId ¶
func (o ServiceDnsEntryOutput) HostedZoneId() pulumi.StringPtrOutput
func (ServiceDnsEntryOutput) ToServiceDnsEntryOutput ¶
func (o ServiceDnsEntryOutput) ToServiceDnsEntryOutput() ServiceDnsEntryOutput
func (ServiceDnsEntryOutput) ToServiceDnsEntryOutputWithContext ¶
func (o ServiceDnsEntryOutput) ToServiceDnsEntryOutputWithContext(ctx context.Context) ServiceDnsEntryOutput
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 ServiceNetwork ¶
type ServiceNetwork struct {
pulumi.CustomResourceState
// ARN of the Service Network.
Arn pulumi.StringOutput `pulumi:"arn"`
// Type of IAM policy. Either `NONE` or `AWS_IAM`.
AuthType pulumi.StringOutput `pulumi:"authType"`
// Name of the service network
Name pulumi.StringOutput `pulumi:"name"`
// Key-value mapping of resource tags. 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"`
// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}
Resource for managing an AWS VPC Lattice Service Network.
## Example Usage ### Basic Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/vpclattice" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vpclattice.NewServiceNetwork(ctx, "example", &vpclattice.ServiceNetworkArgs{
AuthType: pulumi.String("AWS_IAM"),
})
if err != nil {
return err
}
return nil
})
}
```
## Import
VPC Lattice Service Network can be imported using the `id`, e.g.,
```sh
$ pulumi import aws:vpclattice/serviceNetwork:ServiceNetwork example sn-0158f91c1e3358dba
```
func GetServiceNetwork ¶
func GetServiceNetwork(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServiceNetworkState, opts ...pulumi.ResourceOption) (*ServiceNetwork, error)
GetServiceNetwork gets an existing ServiceNetwork 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 NewServiceNetwork ¶
func NewServiceNetwork(ctx *pulumi.Context, name string, args *ServiceNetworkArgs, opts ...pulumi.ResourceOption) (*ServiceNetwork, error)
NewServiceNetwork registers a new resource with the given unique name, arguments, and options.
func (*ServiceNetwork) ElementType ¶
func (*ServiceNetwork) ElementType() reflect.Type
func (*ServiceNetwork) ToServiceNetworkOutput ¶
func (i *ServiceNetwork) ToServiceNetworkOutput() ServiceNetworkOutput
func (*ServiceNetwork) ToServiceNetworkOutputWithContext ¶
func (i *ServiceNetwork) ToServiceNetworkOutputWithContext(ctx context.Context) ServiceNetworkOutput
type ServiceNetworkArgs ¶
type ServiceNetworkArgs struct {
// Type of IAM policy. Either `NONE` or `AWS_IAM`.
AuthType pulumi.StringPtrInput
// Name of the service network
Name pulumi.StringPtrInput
// Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapInput
}
The set of arguments for constructing a ServiceNetwork resource.
func (ServiceNetworkArgs) ElementType ¶
func (ServiceNetworkArgs) ElementType() reflect.Type
type ServiceNetworkArray ¶
type ServiceNetworkArray []ServiceNetworkInput
func (ServiceNetworkArray) ElementType ¶
func (ServiceNetworkArray) ElementType() reflect.Type
func (ServiceNetworkArray) ToServiceNetworkArrayOutput ¶
func (i ServiceNetworkArray) ToServiceNetworkArrayOutput() ServiceNetworkArrayOutput
func (ServiceNetworkArray) ToServiceNetworkArrayOutputWithContext ¶
func (i ServiceNetworkArray) ToServiceNetworkArrayOutputWithContext(ctx context.Context) ServiceNetworkArrayOutput
type ServiceNetworkArrayInput ¶
type ServiceNetworkArrayInput interface {
pulumi.Input
ToServiceNetworkArrayOutput() ServiceNetworkArrayOutput
ToServiceNetworkArrayOutputWithContext(context.Context) ServiceNetworkArrayOutput
}
ServiceNetworkArrayInput is an input type that accepts ServiceNetworkArray and ServiceNetworkArrayOutput values. You can construct a concrete instance of `ServiceNetworkArrayInput` via:
ServiceNetworkArray{ ServiceNetworkArgs{...} }
type ServiceNetworkArrayOutput ¶
type ServiceNetworkArrayOutput struct{ *pulumi.OutputState }
func (ServiceNetworkArrayOutput) ElementType ¶
func (ServiceNetworkArrayOutput) ElementType() reflect.Type
func (ServiceNetworkArrayOutput) Index ¶
func (o ServiceNetworkArrayOutput) Index(i pulumi.IntInput) ServiceNetworkOutput
func (ServiceNetworkArrayOutput) ToServiceNetworkArrayOutput ¶
func (o ServiceNetworkArrayOutput) ToServiceNetworkArrayOutput() ServiceNetworkArrayOutput
func (ServiceNetworkArrayOutput) ToServiceNetworkArrayOutputWithContext ¶
func (o ServiceNetworkArrayOutput) ToServiceNetworkArrayOutputWithContext(ctx context.Context) ServiceNetworkArrayOutput
type ServiceNetworkInput ¶
type ServiceNetworkInput interface {
pulumi.Input
ToServiceNetworkOutput() ServiceNetworkOutput
ToServiceNetworkOutputWithContext(ctx context.Context) ServiceNetworkOutput
}
type ServiceNetworkMap ¶
type ServiceNetworkMap map[string]ServiceNetworkInput
func (ServiceNetworkMap) ElementType ¶
func (ServiceNetworkMap) ElementType() reflect.Type
func (ServiceNetworkMap) ToServiceNetworkMapOutput ¶
func (i ServiceNetworkMap) ToServiceNetworkMapOutput() ServiceNetworkMapOutput
func (ServiceNetworkMap) ToServiceNetworkMapOutputWithContext ¶
func (i ServiceNetworkMap) ToServiceNetworkMapOutputWithContext(ctx context.Context) ServiceNetworkMapOutput
type ServiceNetworkMapInput ¶
type ServiceNetworkMapInput interface {
pulumi.Input
ToServiceNetworkMapOutput() ServiceNetworkMapOutput
ToServiceNetworkMapOutputWithContext(context.Context) ServiceNetworkMapOutput
}
ServiceNetworkMapInput is an input type that accepts ServiceNetworkMap and ServiceNetworkMapOutput values. You can construct a concrete instance of `ServiceNetworkMapInput` via:
ServiceNetworkMap{ "key": ServiceNetworkArgs{...} }
type ServiceNetworkMapOutput ¶
type ServiceNetworkMapOutput struct{ *pulumi.OutputState }
func (ServiceNetworkMapOutput) ElementType ¶
func (ServiceNetworkMapOutput) ElementType() reflect.Type
func (ServiceNetworkMapOutput) MapIndex ¶
func (o ServiceNetworkMapOutput) MapIndex(k pulumi.StringInput) ServiceNetworkOutput
func (ServiceNetworkMapOutput) ToServiceNetworkMapOutput ¶
func (o ServiceNetworkMapOutput) ToServiceNetworkMapOutput() ServiceNetworkMapOutput
func (ServiceNetworkMapOutput) ToServiceNetworkMapOutputWithContext ¶
func (o ServiceNetworkMapOutput) ToServiceNetworkMapOutputWithContext(ctx context.Context) ServiceNetworkMapOutput
type ServiceNetworkOutput ¶
type ServiceNetworkOutput struct{ *pulumi.OutputState }
func (ServiceNetworkOutput) Arn ¶
func (o ServiceNetworkOutput) Arn() pulumi.StringOutput
ARN of the Service Network.
func (ServiceNetworkOutput) AuthType ¶
func (o ServiceNetworkOutput) AuthType() pulumi.StringOutput
Type of IAM policy. Either `NONE` or `AWS_IAM`.
func (ServiceNetworkOutput) ElementType ¶
func (ServiceNetworkOutput) ElementType() reflect.Type
func (ServiceNetworkOutput) Name ¶
func (o ServiceNetworkOutput) Name() pulumi.StringOutput
Name of the service network
func (ServiceNetworkOutput) Tags ¶
func (o ServiceNetworkOutput) Tags() pulumi.StringMapOutput
Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (ServiceNetworkOutput) TagsAll ¶
func (o ServiceNetworkOutput) TagsAll() pulumi.StringMapOutput
Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (ServiceNetworkOutput) ToServiceNetworkOutput ¶
func (o ServiceNetworkOutput) ToServiceNetworkOutput() ServiceNetworkOutput
func (ServiceNetworkOutput) ToServiceNetworkOutputWithContext ¶
func (o ServiceNetworkOutput) ToServiceNetworkOutputWithContext(ctx context.Context) ServiceNetworkOutput
type ServiceNetworkState ¶
type ServiceNetworkState struct {
// ARN of the Service Network.
Arn pulumi.StringPtrInput
// Type of IAM policy. Either `NONE` or `AWS_IAM`.
AuthType pulumi.StringPtrInput
// Name of the service network
Name pulumi.StringPtrInput
// Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapInput
}
func (ServiceNetworkState) ElementType ¶
func (ServiceNetworkState) ElementType() reflect.Type
type ServiceOutput ¶
type ServiceOutput struct{ *pulumi.OutputState }
func (ServiceOutput) Arn ¶
func (o ServiceOutput) Arn() pulumi.StringOutput
ARN of the service. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.
func (ServiceOutput) AuthType ¶
func (o ServiceOutput) AuthType() pulumi.StringOutput
Type of IAM policy. Either `NONE` or `AWS_IAM`.
func (ServiceOutput) CertificateArn ¶
func (o ServiceOutput) CertificateArn() pulumi.StringPtrOutput
Amazon Resource Name (ARN) of the certificate.
func (ServiceOutput) CustomDomainName ¶
func (o ServiceOutput) CustomDomainName() pulumi.StringPtrOutput
Custom domain name of the service.
func (ServiceOutput) DnsEntries ¶
func (o ServiceOutput) DnsEntries() ServiceDnsEntryArrayOutput
Concise description. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.
func (ServiceOutput) ElementType ¶
func (ServiceOutput) ElementType() reflect.Type
func (ServiceOutput) Name ¶
func (o ServiceOutput) Name() pulumi.StringOutput
Name of the service. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.Must be between 3 and 40 characters in length.
func (ServiceOutput) Status ¶
func (o ServiceOutput) Status() pulumi.StringOutput
Status of the service.
func (ServiceOutput) Tags ¶
func (o ServiceOutput) Tags() pulumi.StringMapOutput
Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (ServiceOutput) TagsAll ¶
func (o ServiceOutput) TagsAll() pulumi.StringMapOutput
Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (ServiceOutput) ToServiceOutput ¶
func (o ServiceOutput) ToServiceOutput() ServiceOutput
func (ServiceOutput) ToServiceOutputWithContext ¶
func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
type ServiceState ¶
type ServiceState struct {
// ARN of the service. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.
Arn pulumi.StringPtrInput
// Type of IAM policy. Either `NONE` or `AWS_IAM`.
AuthType pulumi.StringPtrInput
// Amazon Resource Name (ARN) of the certificate.
CertificateArn pulumi.StringPtrInput
// Custom domain name of the service.
CustomDomainName pulumi.StringPtrInput
// Concise description. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.
DnsEntries ServiceDnsEntryArrayInput
// Name of the service. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.Must be between 3 and 40 characters in length.
Name pulumi.StringPtrInput
// Status of the service.
Status pulumi.StringPtrInput
// Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Tags pulumi.StringMapInput
// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
TagsAll pulumi.StringMapInput
}
func (ServiceState) ElementType ¶
func (ServiceState) ElementType() reflect.Type