aws.glue.DevEndpoint
Explore with Pulumi AI
Provides a Glue Development Endpoint resource.
Example Usage
Basic usage:
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.iam.getPolicyDocument({
statements: [{
actions: ["sts:AssumeRole"],
principals: [{
type: "Service",
identifiers: ["glue.amazonaws.com"],
}],
}],
});
const exampleRole = new aws.iam.Role("example", {
name: "AWSGlueServiceRole-foo",
assumeRolePolicy: example.then(example => example.json),
});
const exampleDevEndpoint = new aws.glue.DevEndpoint("example", {
name: "foo",
roleArn: exampleRole.arn,
});
const example_AWSGlueServiceRole = new aws.iam.RolePolicyAttachment("example-AWSGlueServiceRole", {
policyArn: "arn:aws:iam::aws:policy/service-role/AWSGlueServiceRole",
role: exampleRole.name,
});
import pulumi
import pulumi_aws as aws
example = aws.iam.get_policy_document(statements=[{
"actions": ["sts:AssumeRole"],
"principals": [{
"type": "Service",
"identifiers": ["glue.amazonaws.com"],
}],
}])
example_role = aws.iam.Role("example",
name="AWSGlueServiceRole-foo",
assume_role_policy=example.json)
example_dev_endpoint = aws.glue.DevEndpoint("example",
name="foo",
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)
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 {
example, 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, "example", &iam.RoleArgs{
Name: pulumi.String("AWSGlueServiceRole-foo"),
AssumeRolePolicy: pulumi.String(example.Json),
})
if err != nil {
return err
}
_, err = glue.NewDevEndpoint(ctx, "example", &glue.DevEndpointArgs{
Name: pulumi.String("foo"),
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
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = 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("example", new()
{
Name = "AWSGlueServiceRole-foo",
AssumeRolePolicy = example.Apply(getPolicyDocumentResult => getPolicyDocumentResult.Json),
});
var exampleDevEndpoint = new Aws.Glue.DevEndpoint("example", new()
{
Name = "foo",
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 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 example = 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()
.name("AWSGlueServiceRole-foo")
.assumeRolePolicy(example.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.json()))
.build());
var exampleDevEndpoint = new DevEndpoint("exampleDevEndpoint", DevEndpointArgs.builder()
.name("foo")
.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());
}
}
resources:
exampleDevEndpoint:
type: aws:glue:DevEndpoint
name: example
properties:
name: foo
roleArn: ${exampleRole.arn}
exampleRole:
type: aws:iam:Role
name: example
properties:
name: AWSGlueServiceRole-foo
assumeRolePolicy: ${example.json}
example-AWSGlueServiceRole:
type: aws:iam:RolePolicyAttachment
properties:
policyArn: arn:aws:iam::aws:policy/service-role/AWSGlueServiceRole
role: ${exampleRole.name}
variables:
example:
fn::invoke:
function: aws:iam:getPolicyDocument
arguments:
statements:
- actions:
- sts:AssumeRole
principals:
- type: Service
identifiers:
- glue.amazonaws.com
Create DevEndpoint Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DevEndpoint(name: string, args: DevEndpointArgs, opts?: CustomResourceOptions);
@overload
def DevEndpoint(resource_name: str,
args: DevEndpointArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DevEndpoint(resource_name: str,
opts: Optional[ResourceOptions] = None,
role_arn: Optional[str] = None,
glue_version: Optional[str] = None,
public_keys: Optional[Sequence[str]] = None,
arguments: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
number_of_nodes: Optional[int] = None,
number_of_workers: Optional[int] = None,
public_key: Optional[str] = None,
extra_python_libs_s3_path: Optional[str] = None,
extra_jars_s3_path: 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)
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.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. DevEndpointArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. 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
This property is required. string - The unique name of the resource.
- args
This property is required. DevEndpointArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. DevEndpointArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. DevEndpointArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var devEndpointResource = new Aws.Glue.DevEndpoint("devEndpointResource", new()
{
RoleArn = "string",
GlueVersion = "string",
PublicKeys = new[]
{
"string",
},
Arguments =
{
{ "string", "string" },
},
Name = "string",
NumberOfNodes = 0,
NumberOfWorkers = 0,
PublicKey = "string",
ExtraPythonLibsS3Path = "string",
ExtraJarsS3Path = "string",
SecurityConfiguration = "string",
SecurityGroupIds = new[]
{
"string",
},
SubnetId = "string",
Tags =
{
{ "string", "string" },
},
WorkerType = "string",
});
example, err := glue.NewDevEndpoint(ctx, "devEndpointResource", &glue.DevEndpointArgs{
RoleArn: pulumi.String("string"),
GlueVersion: pulumi.String("string"),
PublicKeys: pulumi.StringArray{
pulumi.String("string"),
},
Arguments: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
NumberOfNodes: pulumi.Int(0),
NumberOfWorkers: pulumi.Int(0),
PublicKey: pulumi.String("string"),
ExtraPythonLibsS3Path: pulumi.String("string"),
ExtraJarsS3Path: pulumi.String("string"),
SecurityConfiguration: pulumi.String("string"),
SecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
SubnetId: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
WorkerType: pulumi.String("string"),
})
var devEndpointResource = new DevEndpoint("devEndpointResource", DevEndpointArgs.builder()
.roleArn("string")
.glueVersion("string")
.publicKeys("string")
.arguments(Map.of("string", "string"))
.name("string")
.numberOfNodes(0)
.numberOfWorkers(0)
.publicKey("string")
.extraPythonLibsS3Path("string")
.extraJarsS3Path("string")
.securityConfiguration("string")
.securityGroupIds("string")
.subnetId("string")
.tags(Map.of("string", "string"))
.workerType("string")
.build());
dev_endpoint_resource = aws.glue.DevEndpoint("devEndpointResource",
role_arn="string",
glue_version="string",
public_keys=["string"],
arguments={
"string": "string",
},
name="string",
number_of_nodes=0,
number_of_workers=0,
public_key="string",
extra_python_libs_s3_path="string",
extra_jars_s3_path="string",
security_configuration="string",
security_group_ids=["string"],
subnet_id="string",
tags={
"string": "string",
},
worker_type="string")
const devEndpointResource = new aws.glue.DevEndpoint("devEndpointResource", {
roleArn: "string",
glueVersion: "string",
publicKeys: ["string"],
arguments: {
string: "string",
},
name: "string",
numberOfNodes: 0,
numberOfWorkers: 0,
publicKey: "string",
extraPythonLibsS3Path: "string",
extraJarsS3Path: "string",
securityConfiguration: "string",
securityGroupIds: ["string"],
subnetId: "string",
tags: {
string: "string",
},
workerType: "string",
});
type: aws:glue:DevEndpoint
properties:
arguments:
string: string
extraJarsS3Path: string
extraPythonLibsS3Path: string
glueVersion: string
name: string
numberOfNodes: 0
numberOfWorkers: 0
publicKey: string
publicKeys:
- string
roleArn: string
securityConfiguration: string
securityGroupIds:
- string
subnetId: string
tags:
string: string
workerType: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DevEndpoint resource accepts the following input properties:
- Role
Arn This property is required. Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- Specifies the versions of Python and Apache Spark to use. Defaults to AWS Glue version 0.9.
- Name
Changes to this property will trigger replacement.
- The name of this endpoint. It must be unique in your account.
- Number
Of Nodes Changes to this property will trigger replacement.
- The number of AWS Glue Data Processing Units (DPUs) to allocate to this endpoint. Conflicts with
worker_type
. - Number
Of Workers Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- The name of the Security Configuration structure to be used with this endpoint.
- Security
Group Ids Changes to this property will trigger replacement.
- Security group IDs for the security groups to be used by this endpoint.
- Subnet
Id Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- The type of predefined worker that is allocated to this endpoint. Accepts a value of Standard, G.1X, or G.2X.
- Role
Arn This property is required. Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- Specifies the versions of Python and Apache Spark to use. Defaults to AWS Glue version 0.9.
- Name
Changes to this property will trigger replacement.
- The name of this endpoint. It must be unique in your account.
- Number
Of Nodes Changes to this property will trigger replacement.
- The number of AWS Glue Data Processing Units (DPUs) to allocate to this endpoint. Conflicts with
worker_type
. - Number
Of Workers Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- The name of the Security Configuration structure to be used with this endpoint.
- Security
Group Ids Changes to this property will trigger replacement.
- Security group IDs for the security groups to be used by this endpoint.
- Subnet
Id Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- The type of predefined worker that is allocated to this endpoint. Accepts a value of Standard, G.1X, or G.2X.
- role
Arn This property is required. Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- Specifies the versions of Python and Apache Spark to use. Defaults to AWS Glue version 0.9.
- name
Changes to this property will trigger replacement.
- The name of this endpoint. It must be unique in your account.
- number
Of Nodes Changes to this property will trigger replacement.
- The number of AWS Glue Data Processing Units (DPUs) to allocate to this endpoint. Conflicts with
worker_type
. - number
Of Workers Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- The name of the Security Configuration structure to be used with this endpoint.
- security
Group Ids Changes to this property will trigger replacement.
- Security group IDs for the security groups to be used by this endpoint.
- subnet
Id Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- The type of predefined worker that is allocated to this endpoint. Accepts a value of Standard, G.1X, or G.2X.
- role
Arn This property is required. Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- Specifies the versions of Python and Apache Spark to use. Defaults to AWS Glue version 0.9.
- name
Changes to this property will trigger replacement.
- The name of this endpoint. It must be unique in your account.
- number
Of Nodes Changes to this property will trigger replacement.
- The number of AWS Glue Data Processing Units (DPUs) to allocate to this endpoint. Conflicts with
worker_type
. - number
Of Workers Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- The name of the Security Configuration structure to be used with this endpoint.
- security
Group Ids Changes to this property will trigger replacement.
- Security group IDs for the security groups to be used by this endpoint.
- subnet
Id Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- The type of predefined worker that is allocated to this endpoint. Accepts a value of Standard, G.1X, or G.2X.
- role_
arn This property is required. Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- Specifies the versions of Python and Apache Spark to use. Defaults to AWS Glue version 0.9.
- name
Changes to this property will trigger replacement.
- The name of this endpoint. It must be unique in your account.
- number_
of_ nodes Changes to this property will trigger replacement.
- The number of AWS Glue Data Processing Units (DPUs) to allocate to this endpoint. Conflicts with
worker_type
. - number_
of_ workers Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- The name of the Security Configuration structure to be used with this endpoint.
- security_
group_ ids Changes to this property will trigger replacement.
- Security group IDs for the security groups to be used by this endpoint.
- subnet_
id Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- The type of predefined worker that is allocated to this endpoint. Accepts a value of Standard, G.1X, or G.2X.
- role
Arn This property is required. Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- Specifies the versions of Python and Apache Spark to use. Defaults to AWS Glue version 0.9.
- name
Changes to this property will trigger replacement.
- The name of this endpoint. It must be unique in your account.
- number
Of Nodes Changes to this property will trigger replacement.
- The number of AWS Glue Data Processing Units (DPUs) to allocate to this endpoint. Conflicts with
worker_type
. - number
Of Workers Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- The name of the Security Configuration structure to be used with this endpoint.
- security
Group Ids Changes to this property will trigger replacement.
- Security group IDs for the security groups to be used by this endpoint.
- subnet
Id Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- 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. - 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. - 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. - 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. - 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. - 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. - 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)
resources: _: type: aws:glue:DevEndpoint get: id: ${id}
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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 Changes to this property will trigger replacement.
- Specifies the versions of Python and Apache Spark to use. Defaults to AWS Glue version 0.9.
- Name
Changes to this property will trigger replacement.
- The name of this endpoint. It must be unique in your account.
- Number
Of Nodes Changes to this property will trigger replacement.
- The number of AWS Glue Data Processing Units (DPUs) to allocate to this endpoint. Conflicts with
worker_type
. - Number
Of Workers Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- The IAM role for this endpoint.
- Security
Configuration Changes to this property will trigger replacement.
- The name of the Security Configuration structure to be used with this endpoint.
- Security
Group Ids Changes to this property will trigger replacement.
- Security group IDs for the security groups to be used by this endpoint.
- Status string
- The current status of this endpoint.
- Subnet
Id Changes to this property will trigger replacement.
- 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. - Vpc
Id string - he ID of the VPC used by this endpoint.
- Worker
Type Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- Specifies the versions of Python and Apache Spark to use. Defaults to AWS Glue version 0.9.
- Name
Changes to this property will trigger replacement.
- The name of this endpoint. It must be unique in your account.
- Number
Of Nodes Changes to this property will trigger replacement.
- The number of AWS Glue Data Processing Units (DPUs) to allocate to this endpoint. Conflicts with
worker_type
. - Number
Of Workers Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- The IAM role for this endpoint.
- Security
Configuration Changes to this property will trigger replacement.
- The name of the Security Configuration structure to be used with this endpoint.
- Security
Group Ids Changes to this property will trigger replacement.
- Security group IDs for the security groups to be used by this endpoint.
- Status string
- The current status of this endpoint.
- Subnet
Id Changes to this property will trigger replacement.
- 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. - Vpc
Id string - he ID of the VPC used by this endpoint.
- Worker
Type Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- Specifies the versions of Python and Apache Spark to use. Defaults to AWS Glue version 0.9.
- name
Changes to this property will trigger replacement.
- The name of this endpoint. It must be unique in your account.
- number
Of Nodes Changes to this property will trigger replacement.
- The number of AWS Glue Data Processing Units (DPUs) to allocate to this endpoint. Conflicts with
worker_type
. - number
Of Workers Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- The IAM role for this endpoint.
- security
Configuration Changes to this property will trigger replacement.
- The name of the Security Configuration structure to be used with this endpoint.
- security
Group Ids Changes to this property will trigger replacement.
- Security group IDs for the security groups to be used by this endpoint.
- status String
- The current status of this endpoint.
- subnet
Id Changes to this property will trigger replacement.
- 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. - vpc
Id String - he ID of the VPC used by this endpoint.
- worker
Type Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- Specifies the versions of Python and Apache Spark to use. Defaults to AWS Glue version 0.9.
- name
Changes to this property will trigger replacement.
- The name of this endpoint. It must be unique in your account.
- number
Of Nodes Changes to this property will trigger replacement.
- The number of AWS Glue Data Processing Units (DPUs) to allocate to this endpoint. Conflicts with
worker_type
. - number
Of Workers Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- The IAM role for this endpoint.
- security
Configuration Changes to this property will trigger replacement.
- The name of the Security Configuration structure to be used with this endpoint.
- security
Group Ids Changes to this property will trigger replacement.
- Security group IDs for the security groups to be used by this endpoint.
- status string
- The current status of this endpoint.
- subnet
Id Changes to this property will trigger replacement.
- 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. - vpc
Id string - he ID of the VPC used by this endpoint.
- worker
Type Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- Specifies the versions of Python and Apache Spark to use. Defaults to AWS Glue version 0.9.
- name
Changes to this property will trigger replacement.
- The name of this endpoint. It must be unique in your account.
- number_
of_ nodes Changes to this property will trigger replacement.
- The number of AWS Glue Data Processing Units (DPUs) to allocate to this endpoint. Conflicts with
worker_type
. - number_
of_ workers Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- The IAM role for this endpoint.
- security_
configuration Changes to this property will trigger replacement.
- The name of the Security Configuration structure to be used with this endpoint.
- security_
group_ ids Changes to this property will trigger replacement.
- Security group IDs for the security groups to be used by this endpoint.
- status str
- The current status of this endpoint.
- subnet_
id Changes to this property will trigger replacement.
- 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. - vpc_
id str - he ID of the VPC used by this endpoint.
- worker_
type Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- Specifies the versions of Python and Apache Spark to use. Defaults to AWS Glue version 0.9.
- name
Changes to this property will trigger replacement.
- The name of this endpoint. It must be unique in your account.
- number
Of Nodes Changes to this property will trigger replacement.
- The number of AWS Glue Data Processing Units (DPUs) to allocate to this endpoint. Conflicts with
worker_type
. - number
Of Workers Changes to this property will trigger replacement.
- 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 Changes to this property will trigger replacement.
- The IAM role for this endpoint.
- security
Configuration Changes to this property will trigger replacement.
- The name of the Security Configuration structure to be used with this endpoint.
- security
Group Ids Changes to this property will trigger replacement.
- Security group IDs for the security groups to be used by this endpoint.
- status String
- The current status of this endpoint.
- subnet
Id Changes to this property will trigger replacement.
- 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. - vpc
Id String - he ID of the VPC used by this endpoint.
- worker
Type Changes to this property will trigger replacement.
- 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
Using pulumi import
, import a Glue Development Endpoint using the name
. For example:
$ pulumi import aws:glue/devEndpoint:DevEndpoint example foo
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.