Endpoint Args
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());
}
}
Content copied to clipboard
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
Content copied to clipboard
Constructors
Properties
Link copied to clipboard
Type of access for the network connectivity. Valid values are Private
or CustomerOwnedIp
.
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
Identifier of the EC2 Security Group.