java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, IEndpointRef, IEnvironmentAware, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.126.0 (build 206d44b)", date="2026-02-03T13:58:23.397Z") @Stability(Stable) public class CfnEndpoint extends CfnResource implements IInspectable, IEndpointRef, ITaggableV2
Resource Schema of AWS::EMRContainers::Endpoint Type.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.emrcontainers.*;
 EMREKSConfigurationProperty eMREKSConfigurationProperty_;
 CfnEndpoint cfnEndpoint = CfnEndpoint.Builder.create(this, "MyCfnEndpoint")
         .executionRoleArn("executionRoleArn")
         .releaseLabel("releaseLabel")
         .type("type")
         .virtualClusterId("virtualClusterId")
         // the properties below are optional
         .configurationOverrides(ConfigurationOverridesProperty.builder()
                 .applicationConfiguration(List.of(EMREKSConfigurationProperty.builder()
                         .classification("classification")
                         // the properties below are optional
                         .configurations(List.of(eMREKSConfigurationProperty_))
                         .properties(Map.of(
                                 "propertiesKey", "properties"))
                         .build()))
                 .monitoringConfiguration(MonitoringConfigurationProperty.builder()
                         .cloudWatchMonitoringConfiguration(CloudWatchMonitoringConfigurationProperty.builder()
                                 .logGroupName("logGroupName")
                                 // the properties below are optional
                                 .logStreamNamePrefix("logStreamNamePrefix")
                                 .build())
                         .containerLogRotationConfiguration(ContainerLogRotationConfigurationProperty.builder()
                                 .maxFilesToKeep(123)
                                 .rotationSize("rotationSize")
                                 .build())
                         .persistentAppUi("persistentAppUi")
                         .s3MonitoringConfiguration(S3MonitoringConfigurationProperty.builder()
                                 .logUri("logUri")
                                 .build())
                         .build())
                 .build())
         .name("name")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnEndpoint

      protected CfnEndpoint(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnEndpoint

      protected CfnEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnEndpoint

      @Stability(Stable) public CfnEndpoint(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnEndpointProps props)
      Create a new AWS::EMRContainers::Endpoint.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • arnForEndpoint

      @Stability(Stable) @NotNull public static String arnForEndpoint(@NotNull IEndpointRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnEndpoint

      @Stability(Stable) @NotNull public static Boolean isCfnEndpoint(@NotNull Object x)
      Checks whether the given object is a CfnEndpoint.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The ARN of the managed endpoint.
    • getAttrCertificateAuthority

      @Stability(Stable) @NotNull public IResolvable getAttrCertificateAuthority()
    • getAttrCreatedAt

      @Stability(Stable) @NotNull public String getAttrCreatedAt()
      The date and time when the managed endpoint was created.
    • getAttrFailureReason

      @Stability(Stable) @NotNull public String getAttrFailureReason()
      The reason for a failed managed endpoint.
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
      The ID of the managed endpoint.
    • getAttrSecurityGroup

      @Stability(Stable) @NotNull public String getAttrSecurityGroup()
      The security group associated with the managed endpoint.
    • getAttrServerUrl

      @Stability(Stable) @NotNull public String getAttrServerUrl()
      The server URL of the managed endpoint.
    • getAttrState

      @Stability(Stable) @NotNull public String getAttrState()
      The state of the managed endpoint.
    • getAttrStateDetails

      @Stability(Stable) @NotNull public String getAttrStateDetails()
      Additional details about the state of the managed endpoint.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getEndpointRef

      @Stability(Stable) @NotNull public EndpointReference getEndpointRef()
      A reference to a Endpoint resource.
      Specified by:
      getEndpointRef in interface IEndpointRef
    • getExecutionRoleArn

      @Stability(Stable) @NotNull public String getExecutionRoleArn()
      The execution role ARN for the managed endpoint.
    • setExecutionRoleArn

      @Stability(Stable) public void setExecutionRoleArn(@NotNull String value)
      The execution role ARN for the managed endpoint.
    • getReleaseLabel

      @Stability(Stable) @NotNull public String getReleaseLabel()
      The Amazon EMR release label.
    • setReleaseLabel

      @Stability(Stable) public void setReleaseLabel(@NotNull String value)
      The Amazon EMR release label.
    • getType

      @Stability(Stable) @NotNull public String getType()
      The type of the managed endpoint.
    • setType

      @Stability(Stable) public void setType(@NotNull String value)
      The type of the managed endpoint.
    • getVirtualClusterId

      @Stability(Stable) @NotNull public String getVirtualClusterId()
      The ID of the virtual cluster for which the managed endpoint is created.
    • setVirtualClusterId

      @Stability(Stable) public void setVirtualClusterId(@NotNull String value)
      The ID of the virtual cluster for which the managed endpoint is created.
    • getConfigurationOverrides

      @Stability(Stable) @Nullable public Object getConfigurationOverrides()
    • setConfigurationOverrides

      @Stability(Stable) public void setConfigurationOverrides(@Nullable IResolvable value)
    • setConfigurationOverrides

      @Stability(Stable) public void setConfigurationOverrides(@Nullable CfnEndpoint.ConfigurationOverridesProperty value)
    • getName

      @Stability(Stable) @Nullable public String getName()
      The name of the managed endpoint.
    • setName

      @Stability(Stable) public void setName(@Nullable String value)
      The name of the managed endpoint.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      An array of key-value pairs to apply to this managed endpoint.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      An array of key-value pairs to apply to this managed endpoint.