Class CfnDevEndpointProps
Properties for defining a CfnDevEndpoint
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDevEndpointProps : Object, ICfnDevEndpointProps
Syntax (vb)
Public Class CfnDevEndpointProps
Inherits Object
Implements ICfnDevEndpointProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-devendpoint.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Glue;
var arguments_;
var tags;
var cfnDevEndpointProps = new CfnDevEndpointProps {
RoleArn = "roleArn",
// the properties below are optional
Arguments = arguments_,
EndpointName = "endpointName",
ExtraJarsS3Path = "extraJarsS3Path",
ExtraPythonLibsS3Path = "extraPythonLibsS3Path",
GlueVersion = "glueVersion",
NumberOfNodes = 123,
NumberOfWorkers = 123,
PublicKey = "publicKey",
PublicKeys = new [] { "publicKeys" },
SecurityConfiguration = "securityConfiguration",
SecurityGroupIds = new [] { "securityGroupIds" },
SubnetId = "subnetId",
Tags = tags,
WorkerType = "workerType"
};
Synopsis
Constructors
CfnDevEndpointProps() |
Properties
Arguments | A map of arguments used to configure the |
EndpointName | The name of the |
ExtraJarsS3Path | The path to one or more Java |
ExtraPythonLibsS3Path | The paths to one or more Python libraries in an Amazon S3 bucket that should be loaded in your |
GlueVersion | The AWS Glue version determines the versions of Apache Spark and Python that AWS Glue supports. |
NumberOfNodes | The number of AWS Glue Data Processing Units (DPUs) allocated to this |
NumberOfWorkers | The number of workers of a defined |
PublicKey | The public key to be used by this |
PublicKeys | A list of public keys to be used by the |
RoleArn | The Amazon Resource Name (ARN) of the IAM role used in this |
SecurityConfiguration | The name of the |
SecurityGroupIds | A list of security group identifiers used in this |
SubnetId | The subnet ID for this |
Tags | The tags to use with this DevEndpoint. |
WorkerType | The type of predefined worker that is allocated to the development endpoint. |
Constructors
CfnDevEndpointProps()
public CfnDevEndpointProps()
Properties
Arguments
A map of arguments used to configure the DevEndpoint
.
public object Arguments { get; set; }
Property Value
System.Object
Remarks
Valid arguments are:
You can specify a version of Python support for development endpoints by using the Arguments
parameter in the CreateDevEndpoint
or UpdateDevEndpoint
APIs. If no arguments are provided, the version defaults to Python 2.
EndpointName
The name of the DevEndpoint
.
public string EndpointName { get; set; }
Property Value
System.String
Remarks
ExtraJarsS3Path
The path to one or more Java .jar
files in an S3 bucket that should be loaded in your DevEndpoint
.
public string ExtraJarsS3Path { get; set; }
Property Value
System.String
Remarks
You can only use pure Java/Scala libraries with a DevEndpoint
.
ExtraPythonLibsS3Path
The paths to one or more Python libraries in an Amazon S3 bucket that should be loaded in your DevEndpoint
.
public string ExtraPythonLibsS3Path { get; set; }
Property Value
System.String
Remarks
Multiple values must be complete paths separated by a comma.
You can only use pure Python libraries with a DevEndpoint
. Libraries that rely on C extensions, such as the pandas Python data analysis library, are not currently supported.
GlueVersion
The AWS Glue version determines the versions of Apache Spark and Python that AWS Glue supports.
public string GlueVersion { get; set; }
Property Value
System.String
Remarks
The Python version indicates the version supported for running your ETL scripts on development endpoints.
For more information about the available AWS Glue versions and corresponding Spark and Python versions, see Glue version in the developer guide.
Development endpoints that are created without specifying a Glue version default to Glue 0.9.
You can specify a version of Python support for development endpoints by using the Arguments
parameter in the CreateDevEndpoint
or UpdateDevEndpoint
APIs. If no arguments are provided, the version defaults to Python 2.
NumberOfNodes
The number of AWS Glue Data Processing Units (DPUs) allocated to this DevEndpoint
.
public Nullable<double> NumberOfNodes { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
NumberOfWorkers
The number of workers of a defined workerType
that are allocated to the development endpoint.
public Nullable<double> NumberOfWorkers { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
The maximum number of workers you can define are 299 for G.1X
, and 149 for G.2X
.
PublicKey
The public key to be used by this DevEndpoint
for authentication.
public string PublicKey { get; set; }
Property Value
System.String
Remarks
This attribute is provided for backward compatibility because the recommended attribute to use is public keys.
PublicKeys
A list of public keys to be used by the DevEndpoints
for authentication.
public string[] PublicKeys { get; set; }
Property Value
System.String[]
Remarks
Using this attribute is preferred over a single public key because the public keys allow you to have a different private key per client.
If you previously created an endpoint with a public key, you must remove that key to be able to set a list of public keys. Call the UpdateDevEndpoint
API operation with the public key content in the deletePublicKeys
attribute, and the list of new keys in the addPublicKeys
attribute.
RoleArn
The Amazon Resource Name (ARN) of the IAM role used in this DevEndpoint
.
public string RoleArn { get; set; }
Property Value
System.String
Remarks
SecurityConfiguration
The name of the SecurityConfiguration
structure to be used with this DevEndpoint
.
public string SecurityConfiguration { get; set; }
Property Value
System.String
Remarks
SecurityGroupIds
A list of security group identifiers used in this DevEndpoint
.
public string[] SecurityGroupIds { get; set; }
Property Value
System.String[]
Remarks
SubnetId
The subnet ID for this DevEndpoint
.
public string SubnetId { get; set; }
Property Value
System.String
Remarks
Tags
The tags to use with this DevEndpoint.
public object Tags { get; set; }
Property Value
System.Object
Remarks
WorkerType
The type of predefined worker that is allocated to the development endpoint.
public string WorkerType { get; set; }
Property Value
System.String
Remarks
Accepts a value of Standard, G.1X, or G.2X.
Known issue: when a development endpoint is created with the G.2X
WorkerType
configuration, the Spark drivers for the development endpoint will run on 4 vCPU, 16 GB of memory, and a 64 GB disk.