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

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(data.aws_outposts_outpost().example().id())
.securityGroupId(aws_security_group.example().id())
.subnetId(aws_subnet.example().id())
.build());
}
}

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.,

$ 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