EndpointArgs

data class EndpointArgs(val accessType: Output<String>? = null, val customerOwnedIpv4Pool: Output<String>? = null, val outpostId: Output<String>? = null, val securityGroupId: Output<String>? = null, val subnetId: Output<String>? = null) : ConvertibleToJava<EndpointArgs>

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,
});
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"])
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,
});
});
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
})
}
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());
}
}
resources:
example:
type: aws:s3outposts:Endpoint
properties:
outpostId: ${exampleAwsOutpostsOutpost.id}
securityGroupId: ${exampleAwsSecurityGroup.id}
subnetId: ${exampleAwsSubnet.id}

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

Constructors

Link copied to clipboard
constructor(accessType: Output<String>? = null, customerOwnedIpv4Pool: Output<String>? = null, outpostId: Output<String>? = null, securityGroupId: Output<String>? = null, subnetId: Output<String>? = null)

Properties

Link copied to clipboard
val accessType: Output<String>? = null

Type of access for the network connectivity. Valid values are Private or CustomerOwnedIp.

Link copied to clipboard
val customerOwnedIpv4Pool: Output<String>? = null

The ID of a Customer Owned IP Pool. For more on customer owned IP addresses see the User Guide.

Link copied to clipboard
val outpostId: Output<String>? = null

Identifier of the Outpost to contain this endpoint.

Link copied to clipboard
val securityGroupId: Output<String>? = null

Identifier of the EC2 Security Group.

Link copied to clipboard
val subnetId: Output<String>? = null

Identifier of the EC2 Subnet.

Functions

Link copied to clipboard
open override fun toJava(): EndpointArgs