Endpoint
Provides a resource to manage an S3 Outposts Endpoint.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.s3outposts.Endpoint("example", {
outpostId: exampleAwsOutpostsOutpost.id,
securityGroupId: exampleAwsSecurityGroup.id,
subnetId: exampleAwsSubnet.id,
});
Content copied to clipboard
import pulumi
import pulumi_aws as aws
example = aws.s3outposts.Endpoint("example",
outpost_id=example_aws_outposts_outpost["id"],
security_group_id=example_aws_security_group["id"],
subnet_id=example_aws_subnet["id"])
Content copied to clipboard
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.S3Outposts.Endpoint("example", new()
{
OutpostId = exampleAwsOutpostsOutpost.Id,
SecurityGroupId = exampleAwsSecurityGroup.Id,
SubnetId = exampleAwsSubnet.Id,
});
});
Content copied to clipboard
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3outposts"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := s3outposts.NewEndpoint(ctx, "example", &s3outposts.EndpointArgs{
OutpostId: pulumi.Any(exampleAwsOutpostsOutpost.Id),
SecurityGroupId: pulumi.Any(exampleAwsSecurityGroup.Id),
SubnetId: pulumi.Any(exampleAwsSubnet.Id),
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.s3outposts.Endpoint;
import com.pulumi.aws.s3outposts.EndpointArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Endpoint("example", EndpointArgs.builder()
.outpostId(exampleAwsOutpostsOutpost.id())
.securityGroupId(exampleAwsSecurityGroup.id())
.subnetId(exampleAwsSubnet.id())
.build());
}
}
Content copied to clipboard
resources:
example:
type: aws:s3outposts:Endpoint
properties:
outpostId: ${exampleAwsOutpostsOutpost.id}
securityGroupId: ${exampleAwsSecurityGroup.id}
subnetId: ${exampleAwsSubnet.id}
Content copied to clipboard
Import
Using pulumi import
, import S3 Outposts Endpoints using Amazon Resource Name (ARN), EC2 Security Group identifier, and EC2 Subnet identifier, separated by commas (,
). For example:
$ pulumi import aws:s3outposts/endpoint:Endpoint example arn:aws:s3-outposts:us-east-1:123456789012:outpost/op-12345678/endpoint/0123456789abcdef,sg-12345678,subnet-12345678
Content copied to clipboard
Properties
Link copied to clipboard
Type of access for the network connectivity. Valid values are Private
or CustomerOwnedIp
.
Link copied to clipboard
UTC creation time in RFC3339 format.
Link copied to clipboard
The ID of a Customer Owned IP Pool. For more on customer owned IP addresses see the User Guide.
Link copied to clipboard
Set of nested attributes for associated Elastic Network Interfaces (ENIs).
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Identifier of the EC2 Security Group.