DevEndpointArgs

data class DevEndpointArgs(val arguments: Output<Map<String, Any>>? = null, val extraJarsS3Path: Output<String>? = null, val extraPythonLibsS3Path: Output<String>? = null, val glueVersion: Output<String>? = null, val name: Output<String>? = null, val numberOfNodes: Output<Int>? = null, val numberOfWorkers: Output<Int>? = null, val publicKey: Output<String>? = null, val publicKeys: Output<List<String>>? = null, val roleArn: Output<String>? = null, val securityConfiguration: Output<String>? = null, val securityGroupIds: Output<List<String>>? = null, val subnetId: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val workerType: Output<String>? = null) : ConvertibleToJava<DevEndpointArgs>

Provides a Glue Development Endpoint resource.

Example Usage

Basic usage:

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.iam.IamFunctions;
import com.pulumi.aws.iam.inputs.GetPolicyDocumentArgs;
import com.pulumi.aws.iam.Role;
import com.pulumi.aws.iam.RoleArgs;
import com.pulumi.aws.glue.DevEndpoint;
import com.pulumi.aws.glue.DevEndpointArgs;
import com.pulumi.aws.iam.RolePolicyAttachment;
import com.pulumi.aws.iam.RolePolicyAttachmentArgs;
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) {
final var examplePolicyDocument = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
.statements(GetPolicyDocumentStatementArgs.builder()
.actions("sts:AssumeRole")
.principals(GetPolicyDocumentStatementPrincipalArgs.builder()
.type("Service")
.identifiers("glue.amazonaws.com")
.build())
.build())
.build());
var exampleRole = new Role("exampleRole", RoleArgs.builder()
.assumeRolePolicy(examplePolicyDocument.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
.build());
var exampleDevEndpoint = new DevEndpoint("exampleDevEndpoint", DevEndpointArgs.builder()
.roleArn(exampleRole.arn())
.build());
var example_AWSGlueServiceRole = new RolePolicyAttachment("example-AWSGlueServiceRole", RolePolicyAttachmentArgs.builder()
.policyArn("arn:aws:iam::aws:policy/service-role/AWSGlueServiceRole")
.role(exampleRole.name())
.build());
}
}

Import

A Glue Development Endpoint can be imported using the name, e.g.,

$ pulumi import aws:glue/devEndpoint:DevEndpoint example foo

Constructors

Link copied to clipboard
constructor(arguments: Output<Map<String, Any>>? = null, extraJarsS3Path: Output<String>? = null, extraPythonLibsS3Path: Output<String>? = null, glueVersion: Output<String>? = null, name: Output<String>? = null, numberOfNodes: Output<Int>? = null, numberOfWorkers: Output<Int>? = null, publicKey: Output<String>? = null, publicKeys: Output<List<String>>? = null, roleArn: Output<String>? = null, securityConfiguration: Output<String>? = null, securityGroupIds: Output<List<String>>? = null, subnetId: Output<String>? = null, tags: Output<Map<String, String>>? = null, workerType: Output<String>? = null)

Properties

Link copied to clipboard
val arguments: Output<Map<String, Any>>? = null

A map of arguments used to configure the endpoint.

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

Path to one or more Java Jars in an S3 bucket that should be loaded in this endpoint.

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

Path(s) to one or more Python libraries in an S3 bucket that should be loaded in this endpoint. Multiple values must be complete paths separated by a comma.

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

Specifies the versions of Python and Apache Spark to use. Defaults to AWS Glue version 0.9.

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

The name of this endpoint. It must be unique in your account.

Link copied to clipboard
val numberOfNodes: Output<Int>? = null

The number of AWS Glue Data Processing Units (DPUs) to allocate to this endpoint. Conflicts with worker_type.

Link copied to clipboard
val numberOfWorkers: Output<Int>? = null

The number of workers of a defined worker type that are allocated to this endpoint. This field is available only when you choose worker type G.1X or G.2X.

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

The public key to be used by this endpoint for authentication.

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

A list of public keys to be used by this endpoint for authentication.

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

The IAM role for this endpoint.

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

The name of the Security Configuration structure to be used with this endpoint.

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

Security group IDs for the security groups to be used by this endpoint.

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

The subnet ID for the new endpoint to use.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Key-value map of resource tags. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

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

The type of predefined worker that is allocated to this endpoint. Accepts a value of Standard, G.1X, or G.2X.

Functions

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