Class CfnDevEndpoint
A CloudFormation AWS::Glue::DevEndpoint
.
Inherited Members
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.AWS.Glue.dll
Syntax (csharp)
public class CfnDevEndpoint : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnDevEndpoint
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
The AWS::Glue::DevEndpoint
resource specifies a development endpoint where a developer can remotely debug ETL scripts for AWS Glue . For more information, see DevEndpoint Structure in the AWS Glue Developer Guide.
CloudformationResource: AWS::Glue::DevEndpoint
Link: 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 cfnDevEndpoint = new CfnDevEndpoint(this, "MyCfnDevEndpoint", 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
CfnDevEndpoint(Construct, String, ICfnDevEndpointProps) | Create a new |
CfnDevEndpoint(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnDevEndpoint(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
Arguments | A map of arguments used to configure the |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
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. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnDevEndpoint(Construct, String, ICfnDevEndpointProps)
Create a new AWS::Glue::DevEndpoint
.
public CfnDevEndpoint(Construct scope, string id, ICfnDevEndpointProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnDevEndpointProps
- resource properties.
CfnDevEndpoint(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnDevEndpoint(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnDevEndpoint(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnDevEndpoint(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
Arguments
A map of arguments used to configure the DevEndpoint
.
public virtual 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.
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
EndpointName
The name of the DevEndpoint
.
public virtual 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 virtual 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 virtual 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 virtual 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 virtual 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 virtual 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 virtual 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 virtual 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 virtual string RoleArn { get; set; }
Property Value
System.String
Remarks
SecurityConfiguration
The name of the SecurityConfiguration
structure to be used with this DevEndpoint
.
public virtual string SecurityConfiguration { get; set; }
Property Value
System.String
Remarks
SecurityGroupIds
A list of security group identifiers used in this DevEndpoint
.
public virtual string[] SecurityGroupIds { get; set; }
Property Value
System.String[]
Remarks
SubnetId
The subnet ID for this DevEndpoint
.
public virtual string SubnetId { get; set; }
Property Value
System.String
Remarks
Tags
The tags to use with this DevEndpoint.
public virtual TagManager Tags { get; }
Property Value
Remarks
WorkerType
The type of predefined worker that is allocated to the development endpoint.
public virtual 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.
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>