Try AWS Native preview for resources not in the classic version.
aws.glue.DevEndpoint
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
Provides a Glue Development Endpoint resource.
Example Usage
Basic usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var examplePolicyDocument = Aws.Iam.GetPolicyDocument.Invoke(new()
{
Statements = new[]
{
new Aws.Iam.Inputs.GetPolicyDocumentStatementInputArgs
{
Actions = new[]
{
"sts:AssumeRole",
},
Principals = new[]
{
new Aws.Iam.Inputs.GetPolicyDocumentStatementPrincipalInputArgs
{
Type = "Service",
Identifiers = new[]
{
"glue.amazonaws.com",
},
},
},
},
},
});
var exampleRole = new Aws.Iam.Role("exampleRole", new()
{
AssumeRolePolicy = examplePolicyDocument.Apply(getPolicyDocumentResult => getPolicyDocumentResult.Json),
});
var exampleDevEndpoint = new Aws.Glue.DevEndpoint("exampleDevEndpoint", new()
{
RoleArn = exampleRole.Arn,
});
var example_AWSGlueServiceRole = new Aws.Iam.RolePolicyAttachment("example-AWSGlueServiceRole", new()
{
PolicyArn = "arn:aws:iam::aws:policy/service-role/AWSGlueServiceRole",
Role = exampleRole.Name,
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/glue"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
examplePolicyDocument, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
Statements: []iam.GetPolicyDocumentStatement{
{
Actions: []string{
"sts:AssumeRole",
},
Principals: []iam.GetPolicyDocumentStatementPrincipal{
{
Type: "Service",
Identifiers: []string{
"glue.amazonaws.com",
},
},
},
},
},
}, nil)
if err != nil {
return err
}
exampleRole, err := iam.NewRole(ctx, "exampleRole", &iam.RoleArgs{
AssumeRolePolicy: *pulumi.String(examplePolicyDocument.Json),
})
if err != nil {
return err
}
_, err = glue.NewDevEndpoint(ctx, "exampleDevEndpoint", &glue.DevEndpointArgs{
RoleArn: exampleRole.Arn,
})
if err != nil {
return err
}
_, err = iam.NewRolePolicyAttachment(ctx, "example-AWSGlueServiceRole", &iam.RolePolicyAttachmentArgs{
PolicyArn: pulumi.String("arn:aws:iam::aws:policy/service-role/AWSGlueServiceRole"),
Role: exampleRole.Name,
})
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.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 pulumi
import pulumi_aws as aws
example_policy_document = aws.iam.get_policy_document(statements=[aws.iam.GetPolicyDocumentStatementArgs(
actions=["sts:AssumeRole"],
principals=[aws.iam.GetPolicyDocumentStatementPrincipalArgs(
type="Service",
identifiers=["glue.amazonaws.com"],
)],
)])
example_role = aws.iam.Role("exampleRole", assume_role_policy=example_policy_document.json)
example_dev_endpoint = aws.glue.DevEndpoint("exampleDevEndpoint", role_arn=example_role.arn)
example__aws_glue_service_role = aws.iam.RolePolicyAttachment("example-AWSGlueServiceRole",
policy_arn="arn:aws:iam::aws:policy/service-role/AWSGlueServiceRole",
role=example_role.name)
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const examplePolicyDocument = aws.iam.getPolicyDocument({
statements: [{
actions: ["sts:AssumeRole"],
principals: [{
type: "Service",
identifiers: ["glue.amazonaws.com"],
}],
}],
});
const exampleRole = new aws.iam.Role("exampleRole", {assumeRolePolicy: examplePolicyDocument.then(examplePolicyDocument => examplePolicyDocument.json)});
const exampleDevEndpoint = new aws.glue.DevEndpoint("exampleDevEndpoint", {roleArn: exampleRole.arn});
const example_AWSGlueServiceRole = new aws.iam.RolePolicyAttachment("example-AWSGlueServiceRole", {
policyArn: "arn:aws:iam::aws:policy/service-role/AWSGlueServiceRole",
role: exampleRole.name,
});
resources:
exampleDevEndpoint:
type: aws:glue:DevEndpoint
properties:
roleArn: ${exampleRole.arn}
exampleRole:
type: aws:iam:Role
properties:
assumeRolePolicy: ${examplePolicyDocument.json}
example-AWSGlueServiceRole:
type: aws:iam:RolePolicyAttachment
properties:
policyArn: arn:aws:iam::aws:policy/service-role/AWSGlueServiceRole
role: ${exampleRole.name}
variables:
examplePolicyDocument:
fn::invoke:
Function: aws:iam:getPolicyDocument
Arguments:
statements:
- actions:
- sts:AssumeRole
principals:
- type: Service
identifiers:
- glue.amazonaws.com
Create DevEndpoint Resource
new DevEndpoint(name: string, args: DevEndpointArgs, opts?: CustomResourceOptions);
@overload
def DevEndpoint(resource_name: str,
opts: Optional[ResourceOptions] = None,
arguments: Optional[Mapping[str, str]] = None,
extra_jars_s3_path: Optional[str] = None,
extra_python_libs_s3_path: Optional[str] = None,
glue_version: Optional[str] = None,
name: Optional[str] = None,
number_of_nodes: Optional[int] = None,
number_of_workers: Optional[int] = None,
public_key: Optional[str] = None,
public_keys: Optional[Sequence[str]] = None,
role_arn: Optional[str] = None,
security_configuration: Optional[str] = None,
security_group_ids: Optional[Sequence[str]] = None,
subnet_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
worker_type: Optional[str] = None)
@overload
def DevEndpoint(resource_name: str,
args: DevEndpointArgs,
opts: Optional[ResourceOptions] = None)
func NewDevEndpoint(ctx *Context, name string, args DevEndpointArgs, opts ...ResourceOption) (*DevEndpoint, error)
public DevEndpoint(string name, DevEndpointArgs args, CustomResourceOptions? opts = null)
public DevEndpoint(String name, DevEndpointArgs args)
public DevEndpoint(String name, DevEndpointArgs args, CustomResourceOptions options)
type: aws:glue:DevEndpoint
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DevEndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DevEndpointArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DevEndpointArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DevEndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DevEndpointArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DevEndpoint Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The DevEndpoint resource accepts the following input properties:
- Role
Arn string The IAM role for this endpoint.
- Arguments Dictionary<string, string>
A map of arguments used to configure the endpoint.
- Extra
Jars stringS3Path Path to one or more Java Jars in an S3 bucket that should be loaded in this endpoint.
- Extra
Python stringLibs S3Path 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.
- Glue
Version string Specifies the versions of Python and Apache Spark to use. Defaults to AWS Glue version 0.9.
- Name string
The name of this endpoint. It must be unique in your account.
- Number
Of intNodes The number of AWS Glue Data Processing Units (DPUs) to allocate to this endpoint. Conflicts with
worker_type
.- Number
Of intWorkers 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.
- Public
Key string The public key to be used by this endpoint for authentication.
- Public
Keys List<string> A list of public keys to be used by this endpoint for authentication.
- Security
Configuration string The name of the Security Configuration structure to be used with this endpoint.
- Security
Group List<string>Ids Security group IDs for the security groups to be used by this endpoint.
- Subnet
Id string The subnet ID for the new endpoint to use.
- Dictionary<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.- Worker
Type string The type of predefined worker that is allocated to this endpoint. Accepts a value of Standard, G.1X, or G.2X.
- Role
Arn string The IAM role for this endpoint.
- Arguments map[string]string
A map of arguments used to configure the endpoint.
- Extra
Jars stringS3Path Path to one or more Java Jars in an S3 bucket that should be loaded in this endpoint.
- Extra
Python stringLibs S3Path 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.
- Glue
Version string Specifies the versions of Python and Apache Spark to use. Defaults to AWS Glue version 0.9.
- Name string
The name of this endpoint. It must be unique in your account.
- Number
Of intNodes The number of AWS Glue Data Processing Units (DPUs) to allocate to this endpoint. Conflicts with
worker_type
.- Number
Of intWorkers 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.
- Public
Key string The public key to be used by this endpoint for authentication.
- Public
Keys []string A list of public keys to be used by this endpoint for authentication.
- Security
Configuration string The name of the Security Configuration structure to be used with this endpoint.
- Security
Group []stringIds Security group IDs for the security groups to be used by this endpoint.
- Subnet
Id string The subnet ID for the new endpoint to use.
- 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.- Worker
Type string The type of predefined worker that is allocated to this endpoint. Accepts a value of Standard, G.1X, or G.2X.
- role
Arn String The IAM role for this endpoint.
- arguments Map<String,String>
A map of arguments used to configure the endpoint.
- extra
Jars StringS3Path Path to one or more Java Jars in an S3 bucket that should be loaded in this endpoint.
- extra
Python StringLibs S3Path 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.
- glue
Version String Specifies the versions of Python and Apache Spark to use. Defaults to AWS Glue version 0.9.
- name String
The name of this endpoint. It must be unique in your account.
- number
Of IntegerNodes The number of AWS Glue Data Processing Units (DPUs) to allocate to this endpoint. Conflicts with
worker_type
.- number
Of IntegerWorkers 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.
- public
Key String The public key to be used by this endpoint for authentication.
- public
Keys List<String> A list of public keys to be used by this endpoint for authentication.
- security
Configuration String The name of the Security Configuration structure to be used with this endpoint.
- security
Group List<String>Ids Security group IDs for the security groups to be used by this endpoint.
- subnet
Id String The subnet ID for the new endpoint to use.
- 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.- worker
Type String The type of predefined worker that is allocated to this endpoint. Accepts a value of Standard, G.1X, or G.2X.
- role
Arn string The IAM role for this endpoint.
- arguments {[key: string]: string}
A map of arguments used to configure the endpoint.
- extra
Jars stringS3Path Path to one or more Java Jars in an S3 bucket that should be loaded in this endpoint.
- extra
Python stringLibs S3Path 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.
- glue
Version string Specifies the versions of Python and Apache Spark to use. Defaults to AWS Glue version 0.9.
- name string
The name of this endpoint. It must be unique in your account.
- number
Of numberNodes The number of AWS Glue Data Processing Units (DPUs) to allocate to this endpoint. Conflicts with
worker_type
.- number
Of numberWorkers 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.
- public
Key string The public key to be used by this endpoint for authentication.
- public
Keys string[] A list of public keys to be used by this endpoint for authentication.
- security
Configuration string The name of the Security Configuration structure to be used with this endpoint.
- security
Group string[]Ids Security group IDs for the security groups to be used by this endpoint.
- subnet
Id string The subnet ID for the new endpoint to use.
- {[key: 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.- worker
Type string The type of predefined worker that is allocated to this endpoint. Accepts a value of Standard, G.1X, or G.2X.
- role_
arn str The IAM role for this endpoint.
- arguments Mapping[str, str]
A map of arguments used to configure the endpoint.
- extra_
jars_ strs3_ path Path to one or more Java Jars in an S3 bucket that should be loaded in this endpoint.
- extra_
python_ strlibs_ s3_ path 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.
- glue_
version str Specifies the versions of Python and Apache Spark to use. Defaults to AWS Glue version 0.9.
- name str
The name of this endpoint. It must be unique in your account.
- number_
of_ intnodes The number of AWS Glue Data Processing Units (DPUs) to allocate to this endpoint. Conflicts with
worker_type
.- number_
of_ intworkers 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.
- public_
key str The public key to be used by this endpoint for authentication.
- public_
keys Sequence[str] A list of public keys to be used by this endpoint for authentication.
- security_
configuration str The name of the Security Configuration structure to be used with this endpoint.
- security_
group_ Sequence[str]ids Security group IDs for the security groups to be used by this endpoint.
- subnet_
id str The subnet ID for the new endpoint to use.
- Mapping[str, str]
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.- worker_
type str The type of predefined worker that is allocated to this endpoint. Accepts a value of Standard, G.1X, or G.2X.
- role
Arn String The IAM role for this endpoint.
- arguments Map<String>
A map of arguments used to configure the endpoint.
- extra
Jars StringS3Path Path to one or more Java Jars in an S3 bucket that should be loaded in this endpoint.
- extra
Python StringLibs S3Path 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.
- glue
Version String Specifies the versions of Python and Apache Spark to use. Defaults to AWS Glue version 0.9.
- name String
The name of this endpoint. It must be unique in your account.
- number
Of NumberNodes The number of AWS Glue Data Processing Units (DPUs) to allocate to this endpoint. Conflicts with
worker_type
.- number
Of NumberWorkers 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.
- public
Key String The public key to be used by this endpoint for authentication.
- public
Keys List<String> A list of public keys to be used by this endpoint for authentication.
- security
Configuration String The name of the Security Configuration structure to be used with this endpoint.
- security
Group List<String>Ids Security group IDs for the security groups to be used by this endpoint.
- subnet
Id String The subnet ID for the new endpoint to use.
- Map<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.- worker
Type String The type of predefined worker that is allocated to this endpoint. Accepts a value of Standard, G.1X, or G.2X.
Outputs
All input properties are implicitly available as output properties. Additionally, the DevEndpoint resource produces the following output properties:
- Arn string
The ARN of the endpoint.
- Availability
Zone string The AWS availability zone where this endpoint is located.
- Failure
Reason string The reason for a current failure in this endpoint.
- Id string
The provider-assigned unique ID for this managed resource.
- Private
Address string A private IP address to access the endpoint within a VPC, if this endpoint is created within one.
- Public
Address string The public IP address used by this endpoint. The PublicAddress field is present only when you create a non-VPC endpoint.
- Status string
The current status of this endpoint.
- Dictionary<string, string>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.- Vpc
Id string he ID of the VPC used by this endpoint.
- Yarn
Endpoint stringAddress The YARN endpoint address used by this endpoint.
- Zeppelin
Remote intSpark Interpreter Port The Apache Zeppelin port for the remote Apache Spark interpreter.
- Arn string
The ARN of the endpoint.
- Availability
Zone string The AWS availability zone where this endpoint is located.
- Failure
Reason string The reason for a current failure in this endpoint.
- Id string
The provider-assigned unique ID for this managed resource.
- Private
Address string A private IP address to access the endpoint within a VPC, if this endpoint is created within one.
- Public
Address string The public IP address used by this endpoint. The PublicAddress field is present only when you create a non-VPC endpoint.
- Status string
The current status of this endpoint.
- map[string]string
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.- Vpc
Id string he ID of the VPC used by this endpoint.
- Yarn
Endpoint stringAddress The YARN endpoint address used by this endpoint.
- Zeppelin
Remote intSpark Interpreter Port The Apache Zeppelin port for the remote Apache Spark interpreter.
- arn String
The ARN of the endpoint.
- availability
Zone String The AWS availability zone where this endpoint is located.
- failure
Reason String The reason for a current failure in this endpoint.
- id String
The provider-assigned unique ID for this managed resource.
- private
Address String A private IP address to access the endpoint within a VPC, if this endpoint is created within one.
- public
Address String The public IP address used by this endpoint. The PublicAddress field is present only when you create a non-VPC endpoint.
- status String
The current status of this endpoint.
- Map<String,String>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.- vpc
Id String he ID of the VPC used by this endpoint.
- yarn
Endpoint StringAddress The YARN endpoint address used by this endpoint.
- zeppelin
Remote IntegerSpark Interpreter Port The Apache Zeppelin port for the remote Apache Spark interpreter.
- arn string
The ARN of the endpoint.
- availability
Zone string The AWS availability zone where this endpoint is located.
- failure
Reason string The reason for a current failure in this endpoint.
- id string
The provider-assigned unique ID for this managed resource.
- private
Address string A private IP address to access the endpoint within a VPC, if this endpoint is created within one.
- public
Address string The public IP address used by this endpoint. The PublicAddress field is present only when you create a non-VPC endpoint.
- status string
The current status of this endpoint.
- {[key: string]: string}
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.- vpc
Id string he ID of the VPC used by this endpoint.
- yarn
Endpoint stringAddress The YARN endpoint address used by this endpoint.
- zeppelin
Remote numberSpark Interpreter Port The Apache Zeppelin port for the remote Apache Spark interpreter.
- arn str
The ARN of the endpoint.
- availability_
zone str The AWS availability zone where this endpoint is located.
- failure_
reason str The reason for a current failure in this endpoint.
- id str
The provider-assigned unique ID for this managed resource.
- private_
address str A private IP address to access the endpoint within a VPC, if this endpoint is created within one.
- public_
address str The public IP address used by this endpoint. The PublicAddress field is present only when you create a non-VPC endpoint.
- status str
The current status of this endpoint.
- Mapping[str, str]
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.- vpc_
id str he ID of the VPC used by this endpoint.
- yarn_
endpoint_ straddress The YARN endpoint address used by this endpoint.
- zeppelin_
remote_ intspark_ interpreter_ port The Apache Zeppelin port for the remote Apache Spark interpreter.
- arn String
The ARN of the endpoint.
- availability
Zone String The AWS availability zone where this endpoint is located.
- failure
Reason String The reason for a current failure in this endpoint.
- id String
The provider-assigned unique ID for this managed resource.
- private
Address String A private IP address to access the endpoint within a VPC, if this endpoint is created within one.
- public
Address String The public IP address used by this endpoint. The PublicAddress field is present only when you create a non-VPC endpoint.
- status String
The current status of this endpoint.
- Map<String>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.- vpc
Id String he ID of the VPC used by this endpoint.
- yarn
Endpoint StringAddress The YARN endpoint address used by this endpoint.
- zeppelin
Remote NumberSpark Interpreter Port The Apache Zeppelin port for the remote Apache Spark interpreter.
Look up Existing DevEndpoint Resource
Get an existing DevEndpoint resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DevEndpointState, opts?: CustomResourceOptions): DevEndpoint
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arguments: Optional[Mapping[str, str]] = None,
arn: Optional[str] = None,
availability_zone: Optional[str] = None,
extra_jars_s3_path: Optional[str] = None,
extra_python_libs_s3_path: Optional[str] = None,
failure_reason: Optional[str] = None,
glue_version: Optional[str] = None,
name: Optional[str] = None,
number_of_nodes: Optional[int] = None,
number_of_workers: Optional[int] = None,
private_address: Optional[str] = None,
public_address: Optional[str] = None,
public_key: Optional[str] = None,
public_keys: Optional[Sequence[str]] = None,
role_arn: Optional[str] = None,
security_configuration: Optional[str] = None,
security_group_ids: Optional[Sequence[str]] = None,
status: Optional[str] = None,
subnet_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
vpc_id: Optional[str] = None,
worker_type: Optional[str] = None,
yarn_endpoint_address: Optional[str] = None,
zeppelin_remote_spark_interpreter_port: Optional[int] = None) -> DevEndpoint
func GetDevEndpoint(ctx *Context, name string, id IDInput, state *DevEndpointState, opts ...ResourceOption) (*DevEndpoint, error)
public static DevEndpoint Get(string name, Input<string> id, DevEndpointState? state, CustomResourceOptions? opts = null)
public static DevEndpoint get(String name, Output<String> id, DevEndpointState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arguments Dictionary<string, string>
A map of arguments used to configure the endpoint.
- Arn string
The ARN of the endpoint.
- Availability
Zone string The AWS availability zone where this endpoint is located.
- Extra
Jars stringS3Path Path to one or more Java Jars in an S3 bucket that should be loaded in this endpoint.
- Extra
Python stringLibs S3Path 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.
- Failure
Reason string The reason for a current failure in this endpoint.
- Glue
Version string Specifies the versions of Python and Apache Spark to use. Defaults to AWS Glue version 0.9.
- Name string
The name of this endpoint. It must be unique in your account.
- Number
Of intNodes The number of AWS Glue Data Processing Units (DPUs) to allocate to this endpoint. Conflicts with
worker_type
.- Number
Of intWorkers 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.
- Private
Address string A private IP address to access the endpoint within a VPC, if this endpoint is created within one.
- Public
Address string The public IP address used by this endpoint. The PublicAddress field is present only when you create a non-VPC endpoint.
- Public
Key string The public key to be used by this endpoint for authentication.
- Public
Keys List<string> A list of public keys to be used by this endpoint for authentication.
- Role
Arn string The IAM role for this endpoint.
- Security
Configuration string The name of the Security Configuration structure to be used with this endpoint.
- Security
Group List<string>Ids Security group IDs for the security groups to be used by this endpoint.
- Status string
The current status of this endpoint.
- Subnet
Id string The subnet ID for the new endpoint to use.
- Dictionary<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.- Dictionary<string, string>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.- Vpc
Id string he ID of the VPC used by this endpoint.
- Worker
Type string The type of predefined worker that is allocated to this endpoint. Accepts a value of Standard, G.1X, or G.2X.
- Yarn
Endpoint stringAddress The YARN endpoint address used by this endpoint.
- Zeppelin
Remote intSpark Interpreter Port The Apache Zeppelin port for the remote Apache Spark interpreter.
- Arguments map[string]string
A map of arguments used to configure the endpoint.
- Arn string
The ARN of the endpoint.
- Availability
Zone string The AWS availability zone where this endpoint is located.
- Extra
Jars stringS3Path Path to one or more Java Jars in an S3 bucket that should be loaded in this endpoint.
- Extra
Python stringLibs S3Path 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.
- Failure
Reason string The reason for a current failure in this endpoint.
- Glue
Version string Specifies the versions of Python and Apache Spark to use. Defaults to AWS Glue version 0.9.
- Name string
The name of this endpoint. It must be unique in your account.
- Number
Of intNodes The number of AWS Glue Data Processing Units (DPUs) to allocate to this endpoint. Conflicts with
worker_type
.- Number
Of intWorkers 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.
- Private
Address string A private IP address to access the endpoint within a VPC, if this endpoint is created within one.
- Public
Address string The public IP address used by this endpoint. The PublicAddress field is present only when you create a non-VPC endpoint.
- Public
Key string The public key to be used by this endpoint for authentication.
- Public
Keys []string A list of public keys to be used by this endpoint for authentication.
- Role
Arn string The IAM role for this endpoint.
- Security
Configuration string The name of the Security Configuration structure to be used with this endpoint.
- Security
Group []stringIds Security group IDs for the security groups to be used by this endpoint.
- Status string
The current status of this endpoint.
- Subnet
Id string The subnet ID for the new endpoint to use.
- 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.- map[string]string
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.- Vpc
Id string he ID of the VPC used by this endpoint.
- Worker
Type string The type of predefined worker that is allocated to this endpoint. Accepts a value of Standard, G.1X, or G.2X.
- Yarn
Endpoint stringAddress The YARN endpoint address used by this endpoint.
- Zeppelin
Remote intSpark Interpreter Port The Apache Zeppelin port for the remote Apache Spark interpreter.
- arguments Map<String,String>
A map of arguments used to configure the endpoint.
- arn String
The ARN of the endpoint.
- availability
Zone String The AWS availability zone where this endpoint is located.
- extra
Jars StringS3Path Path to one or more Java Jars in an S3 bucket that should be loaded in this endpoint.
- extra
Python StringLibs S3Path 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.
- failure
Reason String The reason for a current failure in this endpoint.
- glue
Version String Specifies the versions of Python and Apache Spark to use. Defaults to AWS Glue version 0.9.
- name String
The name of this endpoint. It must be unique in your account.
- number
Of IntegerNodes The number of AWS Glue Data Processing Units (DPUs) to allocate to this endpoint. Conflicts with
worker_type
.- number
Of IntegerWorkers 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.
- private
Address String A private IP address to access the endpoint within a VPC, if this endpoint is created within one.
- public
Address String The public IP address used by this endpoint. The PublicAddress field is present only when you create a non-VPC endpoint.
- public
Key String The public key to be used by this endpoint for authentication.
- public
Keys List<String> A list of public keys to be used by this endpoint for authentication.
- role
Arn String The IAM role for this endpoint.
- security
Configuration String The name of the Security Configuration structure to be used with this endpoint.
- security
Group List<String>Ids Security group IDs for the security groups to be used by this endpoint.
- status String
The current status of this endpoint.
- subnet
Id String The subnet ID for the new endpoint to use.
- 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.- Map<String,String>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.- vpc
Id String he ID of the VPC used by this endpoint.
- worker
Type String The type of predefined worker that is allocated to this endpoint. Accepts a value of Standard, G.1X, or G.2X.
- yarn
Endpoint StringAddress The YARN endpoint address used by this endpoint.
- zeppelin
Remote IntegerSpark Interpreter Port The Apache Zeppelin port for the remote Apache Spark interpreter.
- arguments {[key: string]: string}
A map of arguments used to configure the endpoint.
- arn string
The ARN of the endpoint.
- availability
Zone string The AWS availability zone where this endpoint is located.
- extra
Jars stringS3Path Path to one or more Java Jars in an S3 bucket that should be loaded in this endpoint.
- extra
Python stringLibs S3Path 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.
- failure
Reason string The reason for a current failure in this endpoint.
- glue
Version string Specifies the versions of Python and Apache Spark to use. Defaults to AWS Glue version 0.9.
- name string
The name of this endpoint. It must be unique in your account.
- number
Of numberNodes The number of AWS Glue Data Processing Units (DPUs) to allocate to this endpoint. Conflicts with
worker_type
.- number
Of numberWorkers 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.
- private
Address string A private IP address to access the endpoint within a VPC, if this endpoint is created within one.
- public
Address string The public IP address used by this endpoint. The PublicAddress field is present only when you create a non-VPC endpoint.
- public
Key string The public key to be used by this endpoint for authentication.
- public
Keys string[] A list of public keys to be used by this endpoint for authentication.
- role
Arn string The IAM role for this endpoint.
- security
Configuration string The name of the Security Configuration structure to be used with this endpoint.
- security
Group string[]Ids Security group IDs for the security groups to be used by this endpoint.
- status string
The current status of this endpoint.
- subnet
Id string The subnet ID for the new endpoint to use.
- {[key: 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.- {[key: string]: string}
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.- vpc
Id string he ID of the VPC used by this endpoint.
- worker
Type string The type of predefined worker that is allocated to this endpoint. Accepts a value of Standard, G.1X, or G.2X.
- yarn
Endpoint stringAddress The YARN endpoint address used by this endpoint.
- zeppelin
Remote numberSpark Interpreter Port The Apache Zeppelin port for the remote Apache Spark interpreter.
- arguments Mapping[str, str]
A map of arguments used to configure the endpoint.
- arn str
The ARN of the endpoint.
- availability_
zone str The AWS availability zone where this endpoint is located.
- extra_
jars_ strs3_ path Path to one or more Java Jars in an S3 bucket that should be loaded in this endpoint.
- extra_
python_ strlibs_ s3_ path 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.
- failure_
reason str The reason for a current failure in this endpoint.
- glue_
version str Specifies the versions of Python and Apache Spark to use. Defaults to AWS Glue version 0.9.
- name str
The name of this endpoint. It must be unique in your account.
- number_
of_ intnodes The number of AWS Glue Data Processing Units (DPUs) to allocate to this endpoint. Conflicts with
worker_type
.- number_
of_ intworkers 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.
- private_
address str A private IP address to access the endpoint within a VPC, if this endpoint is created within one.
- public_
address str The public IP address used by this endpoint. The PublicAddress field is present only when you create a non-VPC endpoint.
- public_
key str The public key to be used by this endpoint for authentication.
- public_
keys Sequence[str] A list of public keys to be used by this endpoint for authentication.
- role_
arn str The IAM role for this endpoint.
- security_
configuration str The name of the Security Configuration structure to be used with this endpoint.
- security_
group_ Sequence[str]ids Security group IDs for the security groups to be used by this endpoint.
- status str
The current status of this endpoint.
- subnet_
id str The subnet ID for the new endpoint to use.
- Mapping[str, str]
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.- Mapping[str, str]
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.- vpc_
id str he ID of the VPC used by this endpoint.
- worker_
type str The type of predefined worker that is allocated to this endpoint. Accepts a value of Standard, G.1X, or G.2X.
- yarn_
endpoint_ straddress The YARN endpoint address used by this endpoint.
- zeppelin_
remote_ intspark_ interpreter_ port The Apache Zeppelin port for the remote Apache Spark interpreter.
- arguments Map<String>
A map of arguments used to configure the endpoint.
- arn String
The ARN of the endpoint.
- availability
Zone String The AWS availability zone where this endpoint is located.
- extra
Jars StringS3Path Path to one or more Java Jars in an S3 bucket that should be loaded in this endpoint.
- extra
Python StringLibs S3Path 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.
- failure
Reason String The reason for a current failure in this endpoint.
- glue
Version String Specifies the versions of Python and Apache Spark to use. Defaults to AWS Glue version 0.9.
- name String
The name of this endpoint. It must be unique in your account.
- number
Of NumberNodes The number of AWS Glue Data Processing Units (DPUs) to allocate to this endpoint. Conflicts with
worker_type
.- number
Of NumberWorkers 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.
- private
Address String A private IP address to access the endpoint within a VPC, if this endpoint is created within one.
- public
Address String The public IP address used by this endpoint. The PublicAddress field is present only when you create a non-VPC endpoint.
- public
Key String The public key to be used by this endpoint for authentication.
- public
Keys List<String> A list of public keys to be used by this endpoint for authentication.
- role
Arn String The IAM role for this endpoint.
- security
Configuration String The name of the Security Configuration structure to be used with this endpoint.
- security
Group List<String>Ids Security group IDs for the security groups to be used by this endpoint.
- status String
The current status of this endpoint.
- subnet
Id String The subnet ID for the new endpoint to use.
- Map<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.- Map<String>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.- vpc
Id String he ID of the VPC used by this endpoint.
- worker
Type String The type of predefined worker that is allocated to this endpoint. Accepts a value of Standard, G.1X, or G.2X.
- yarn
Endpoint StringAddress The YARN endpoint address used by this endpoint.
- zeppelin
Remote NumberSpark Interpreter Port The Apache Zeppelin port for the remote Apache Spark interpreter.
Import
In TODO v1.5.0 and later, use an import
block to import a Glue Development Endpoint using the name
. For exampleterraform import {
to = aws_glue_dev_endpoint.example
id = “foo” } Using TODO import
, import a Glue Development Endpoint using the name
. For exampleconsole % TODO import aws_glue_dev_endpoint.example foo
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.