DevEndpoint

class DevEndpoint : KotlinCustomResource

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

Properties

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

A map of arguments used to configure the endpoint.

Link copied to clipboard
val arn: Output<String>

The ARN of the endpoint.

Link copied to clipboard

The AWS availability zone where this endpoint is located.

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

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

Link copied to clipboard

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 failureReason: Output<String>

The reason for a current failure in this endpoint.

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

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

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

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

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

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>?

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 privateAddress: Output<String>

A private IP address to access the endpoint within a VPC, if this endpoint is created within one.

Link copied to clipboard
val publicAddress: Output<String>

The public IP address used by this endpoint. The PublicAddress field is present only when you create a non-VPC endpoint.

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

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

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

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

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val roleArn: Output<String>

The IAM role for this endpoint.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
val status: Output<String>

The current status of this endpoint.

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

The subnet ID for the new endpoint to use.

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

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 tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val vpcId: Output<String>

he ID of the VPC used by this endpoint.

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

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

Link copied to clipboard

The YARN endpoint address used by this endpoint.

Link copied to clipboard

The Apache Zeppelin port for the remote Apache Spark interpreter.