CfnEndpointProps

class aws_cdk.aws_emrcontainers.CfnEndpointProps(*, execution_role_arn, release_label, type, virtual_cluster_id, configuration_overrides=None, name=None, tags=None)

Bases: object

Properties for defining a CfnEndpoint.

Parameters:
  • execution_role_arn (str) – The execution role ARN for the managed endpoint.

  • release_label (str) – The Amazon EMR release label.

  • type (str) – The type of the managed endpoint.

  • virtual_cluster_id (str) – The ID of the virtual cluster for which the managed endpoint is created.

  • configuration_overrides (Union[IResolvable, ConfigurationOverridesProperty, Dict[str, Any], None])

  • name (Optional[str]) – The name of the managed endpoint.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – An array of key-value pairs to apply to this managed endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrcontainers-endpoint.html

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_emrcontainers as emrcontainers

# e_mREKSConfiguration_property_: emrcontainers.CfnEndpoint.EMREKSConfigurationProperty

cfn_endpoint_props = emrcontainers.CfnEndpointProps(
    execution_role_arn="executionRoleArn",
    release_label="releaseLabel",
    type="type",
    virtual_cluster_id="virtualClusterId",

    # the properties below are optional
    configuration_overrides=emrcontainers.CfnEndpoint.ConfigurationOverridesProperty(
        application_configuration=[emrcontainers.CfnEndpoint.EMREKSConfigurationProperty(
            classification="classification",

            # the properties below are optional
            configurations=[e_mREKSConfiguration_property_],
            properties={
                "properties_key": "properties"
            }
        )],
        monitoring_configuration=emrcontainers.CfnEndpoint.MonitoringConfigurationProperty(
            cloud_watch_monitoring_configuration=emrcontainers.CfnEndpoint.CloudWatchMonitoringConfigurationProperty(
                log_group_name="logGroupName",

                # the properties below are optional
                log_stream_name_prefix="logStreamNamePrefix"
            ),
            container_log_rotation_configuration=emrcontainers.CfnEndpoint.ContainerLogRotationConfigurationProperty(
                max_files_to_keep=123,
                rotation_size="rotationSize"
            ),
            persistent_app_ui="persistentAppUi",
            s3_monitoring_configuration=emrcontainers.CfnEndpoint.S3MonitoringConfigurationProperty(
                log_uri="logUri"
            )
        )
    ),
    name="name",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

configuration_overrides

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrcontainers-endpoint.html#cfn-emrcontainers-endpoint-configurationoverrides

Type:

see

execution_role_arn

The execution role ARN for the managed endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrcontainers-endpoint.html#cfn-emrcontainers-endpoint-executionrolearn

name

The name of the managed endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrcontainers-endpoint.html#cfn-emrcontainers-endpoint-name

release_label

The Amazon EMR release label.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrcontainers-endpoint.html#cfn-emrcontainers-endpoint-releaselabel

tags

An array of key-value pairs to apply to this managed endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrcontainers-endpoint.html#cfn-emrcontainers-endpoint-tags

type

The type of the managed endpoint.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrcontainers-endpoint.html#cfn-emrcontainers-endpoint-type

virtual_cluster_id

The ID of the virtual cluster for which the managed endpoint is created.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emrcontainers-endpoint.html#cfn-emrcontainers-endpoint-virtualclusterid