Documentation ¶
Index ¶
- type Endpoint
- type EndpointArgs
- type EndpointInput
- type EndpointNetworkInterface
- type EndpointNetworkInterfaceArgs
- func (EndpointNetworkInterfaceArgs) ElementType() reflect.Type
- func (i EndpointNetworkInterfaceArgs) ToEndpointNetworkInterfaceOutput() EndpointNetworkInterfaceOutput
- func (i EndpointNetworkInterfaceArgs) ToEndpointNetworkInterfaceOutputWithContext(ctx context.Context) EndpointNetworkInterfaceOutput
- type EndpointNetworkInterfaceArray
- func (EndpointNetworkInterfaceArray) ElementType() reflect.Type
- func (i EndpointNetworkInterfaceArray) ToEndpointNetworkInterfaceArrayOutput() EndpointNetworkInterfaceArrayOutput
- func (i EndpointNetworkInterfaceArray) ToEndpointNetworkInterfaceArrayOutputWithContext(ctx context.Context) EndpointNetworkInterfaceArrayOutput
- type EndpointNetworkInterfaceArrayInput
- type EndpointNetworkInterfaceArrayOutput
- func (EndpointNetworkInterfaceArrayOutput) ElementType() reflect.Type
- func (o EndpointNetworkInterfaceArrayOutput) Index(i pulumi.IntInput) EndpointNetworkInterfaceOutput
- func (o EndpointNetworkInterfaceArrayOutput) ToEndpointNetworkInterfaceArrayOutput() EndpointNetworkInterfaceArrayOutput
- func (o EndpointNetworkInterfaceArrayOutput) ToEndpointNetworkInterfaceArrayOutputWithContext(ctx context.Context) EndpointNetworkInterfaceArrayOutput
- type EndpointNetworkInterfaceInput
- type EndpointNetworkInterfaceOutput
- func (EndpointNetworkInterfaceOutput) ElementType() reflect.Type
- func (o EndpointNetworkInterfaceOutput) NetworkInterfaceId() pulumi.StringPtrOutput
- func (o EndpointNetworkInterfaceOutput) ToEndpointNetworkInterfaceOutput() EndpointNetworkInterfaceOutput
- func (o EndpointNetworkInterfaceOutput) ToEndpointNetworkInterfaceOutputWithContext(ctx context.Context) EndpointNetworkInterfaceOutput
- type EndpointOutput
- type EndpointState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoint ¶
type Endpoint struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) of the endpoint. Arn pulumi.StringOutput `pulumi:"arn"` // VPC CIDR block of the endpoint. CidrBlock pulumi.StringOutput `pulumi:"cidrBlock"` // UTC creation time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8). CreationTime pulumi.StringOutput `pulumi:"creationTime"` // Set of nested attributes for associated Elastic Network Interfaces (ENIs). NetworkInterfaces EndpointNetworkInterfaceArrayOutput `pulumi:"networkInterfaces"` // Identifier of the Outpost to contain this endpoint. OutpostId pulumi.StringOutput `pulumi:"outpostId"` // Identifier of the EC2 Security Group. SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"` // Identifier of the EC2 Subnet. SubnetId pulumi.StringOutput `pulumi:"subnetId"` }
Provides a resource to manage an S3 Outposts Endpoint.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/s3outposts" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := s3outposts.NewEndpoint(ctx, "example", &s3outposts.EndpointArgs{ OutpostId: pulumi.Any(data.Aws_outposts_outpost.Example.Id), SecurityGroupId: pulumi.Any(aws_security_group.Example.Id), SubnetId: pulumi.Any(aws_subnet.Example.Id), }) if err != nil { return err } return nil }) }
```
## Import
S3 Outposts Endpoints can be imported using Amazon Resource Name (ARN), EC2 Security Group identifier, and EC2 Subnet identifier, separated by commas (`,`) e.g.
```sh
$ pulumi import aws:s3outposts/endpoint:Endpoint example arn:aws:s3-outposts:us-east-1:123456789012:outpost/op-12345678/endpoint/0123456789abcdef,sg-12345678,subnet-12345678
```
func GetEndpoint ¶
func GetEndpoint(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EndpointState, opts ...pulumi.ResourceOption) (*Endpoint, error)
GetEndpoint gets an existing Endpoint 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 NewEndpoint ¶
func NewEndpoint(ctx *pulumi.Context, name string, args *EndpointArgs, opts ...pulumi.ResourceOption) (*Endpoint, error)
NewEndpoint registers a new resource with the given unique name, arguments, and options.
func (Endpoint) ElementType ¶ added in v3.13.0
func (Endpoint) ToEndpointOutput ¶ added in v3.13.0
func (i Endpoint) ToEndpointOutput() EndpointOutput
func (Endpoint) ToEndpointOutputWithContext ¶ added in v3.13.0
func (i Endpoint) ToEndpointOutputWithContext(ctx context.Context) EndpointOutput
type EndpointArgs ¶
type EndpointArgs struct { // Identifier of the Outpost to contain this endpoint. OutpostId pulumi.StringInput // Identifier of the EC2 Security Group. SecurityGroupId pulumi.StringInput // Identifier of the EC2 Subnet. SubnetId pulumi.StringInput }
The set of arguments for constructing a Endpoint resource.
func (EndpointArgs) ElementType ¶
func (EndpointArgs) ElementType() reflect.Type
type EndpointInput ¶ added in v3.13.0
type EndpointInput interface { pulumi.Input ToEndpointOutput() EndpointOutput ToEndpointOutputWithContext(ctx context.Context) EndpointOutput }
type EndpointNetworkInterface ¶
type EndpointNetworkInterface struct { // Identifier of the Elastic Network Interface (ENI). NetworkInterfaceId *string `pulumi:"networkInterfaceId"` }
type EndpointNetworkInterfaceArgs ¶
type EndpointNetworkInterfaceArgs struct { // Identifier of the Elastic Network Interface (ENI). NetworkInterfaceId pulumi.StringPtrInput `pulumi:"networkInterfaceId"` }
func (EndpointNetworkInterfaceArgs) ElementType ¶
func (EndpointNetworkInterfaceArgs) ElementType() reflect.Type
func (EndpointNetworkInterfaceArgs) ToEndpointNetworkInterfaceOutput ¶
func (i EndpointNetworkInterfaceArgs) ToEndpointNetworkInterfaceOutput() EndpointNetworkInterfaceOutput
func (EndpointNetworkInterfaceArgs) ToEndpointNetworkInterfaceOutputWithContext ¶
func (i EndpointNetworkInterfaceArgs) ToEndpointNetworkInterfaceOutputWithContext(ctx context.Context) EndpointNetworkInterfaceOutput
type EndpointNetworkInterfaceArray ¶
type EndpointNetworkInterfaceArray []EndpointNetworkInterfaceInput
func (EndpointNetworkInterfaceArray) ElementType ¶
func (EndpointNetworkInterfaceArray) ElementType() reflect.Type
func (EndpointNetworkInterfaceArray) ToEndpointNetworkInterfaceArrayOutput ¶
func (i EndpointNetworkInterfaceArray) ToEndpointNetworkInterfaceArrayOutput() EndpointNetworkInterfaceArrayOutput
func (EndpointNetworkInterfaceArray) ToEndpointNetworkInterfaceArrayOutputWithContext ¶
func (i EndpointNetworkInterfaceArray) ToEndpointNetworkInterfaceArrayOutputWithContext(ctx context.Context) EndpointNetworkInterfaceArrayOutput
type EndpointNetworkInterfaceArrayInput ¶
type EndpointNetworkInterfaceArrayInput interface { pulumi.Input ToEndpointNetworkInterfaceArrayOutput() EndpointNetworkInterfaceArrayOutput ToEndpointNetworkInterfaceArrayOutputWithContext(context.Context) EndpointNetworkInterfaceArrayOutput }
EndpointNetworkInterfaceArrayInput is an input type that accepts EndpointNetworkInterfaceArray and EndpointNetworkInterfaceArrayOutput values. You can construct a concrete instance of `EndpointNetworkInterfaceArrayInput` via:
EndpointNetworkInterfaceArray{ EndpointNetworkInterfaceArgs{...} }
type EndpointNetworkInterfaceArrayOutput ¶
type EndpointNetworkInterfaceArrayOutput struct{ *pulumi.OutputState }
func (EndpointNetworkInterfaceArrayOutput) ElementType ¶
func (EndpointNetworkInterfaceArrayOutput) ElementType() reflect.Type
func (EndpointNetworkInterfaceArrayOutput) Index ¶
func (o EndpointNetworkInterfaceArrayOutput) Index(i pulumi.IntInput) EndpointNetworkInterfaceOutput
func (EndpointNetworkInterfaceArrayOutput) ToEndpointNetworkInterfaceArrayOutput ¶
func (o EndpointNetworkInterfaceArrayOutput) ToEndpointNetworkInterfaceArrayOutput() EndpointNetworkInterfaceArrayOutput
func (EndpointNetworkInterfaceArrayOutput) ToEndpointNetworkInterfaceArrayOutputWithContext ¶
func (o EndpointNetworkInterfaceArrayOutput) ToEndpointNetworkInterfaceArrayOutputWithContext(ctx context.Context) EndpointNetworkInterfaceArrayOutput
type EndpointNetworkInterfaceInput ¶
type EndpointNetworkInterfaceInput interface { pulumi.Input ToEndpointNetworkInterfaceOutput() EndpointNetworkInterfaceOutput ToEndpointNetworkInterfaceOutputWithContext(context.Context) EndpointNetworkInterfaceOutput }
EndpointNetworkInterfaceInput is an input type that accepts EndpointNetworkInterfaceArgs and EndpointNetworkInterfaceOutput values. You can construct a concrete instance of `EndpointNetworkInterfaceInput` via:
EndpointNetworkInterfaceArgs{...}
type EndpointNetworkInterfaceOutput ¶
type EndpointNetworkInterfaceOutput struct{ *pulumi.OutputState }
func (EndpointNetworkInterfaceOutput) ElementType ¶
func (EndpointNetworkInterfaceOutput) ElementType() reflect.Type
func (EndpointNetworkInterfaceOutput) NetworkInterfaceId ¶
func (o EndpointNetworkInterfaceOutput) NetworkInterfaceId() pulumi.StringPtrOutput
Identifier of the Elastic Network Interface (ENI).
func (EndpointNetworkInterfaceOutput) ToEndpointNetworkInterfaceOutput ¶
func (o EndpointNetworkInterfaceOutput) ToEndpointNetworkInterfaceOutput() EndpointNetworkInterfaceOutput
func (EndpointNetworkInterfaceOutput) ToEndpointNetworkInterfaceOutputWithContext ¶
func (o EndpointNetworkInterfaceOutput) ToEndpointNetworkInterfaceOutputWithContext(ctx context.Context) EndpointNetworkInterfaceOutput
type EndpointOutput ¶ added in v3.13.0
type EndpointOutput struct {
*pulumi.OutputState
}
func (EndpointOutput) ElementType ¶ added in v3.13.0
func (EndpointOutput) ElementType() reflect.Type
func (EndpointOutput) ToEndpointOutput ¶ added in v3.13.0
func (o EndpointOutput) ToEndpointOutput() EndpointOutput
func (EndpointOutput) ToEndpointOutputWithContext ¶ added in v3.13.0
func (o EndpointOutput) ToEndpointOutputWithContext(ctx context.Context) EndpointOutput
type EndpointState ¶
type EndpointState struct { // Amazon Resource Name (ARN) of the endpoint. Arn pulumi.StringPtrInput // VPC CIDR block of the endpoint. CidrBlock pulumi.StringPtrInput // UTC creation time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8). CreationTime pulumi.StringPtrInput // Set of nested attributes for associated Elastic Network Interfaces (ENIs). NetworkInterfaces EndpointNetworkInterfaceArrayInput // Identifier of the Outpost to contain this endpoint. OutpostId pulumi.StringPtrInput // Identifier of the EC2 Security Group. SecurityGroupId pulumi.StringPtrInput // Identifier of the EC2 Subnet. SubnetId pulumi.StringPtrInput }
func (EndpointState) ElementType ¶
func (EndpointState) ElementType() reflect.Type