Class CfnPipeline

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:00.691Z") @Stability(Stable) public class CfnPipeline extends CfnResource implements IInspectable
A CloudFormation AWS::OSIS::Pipeline.

The AWS::OSIS::Pipeline resource creates an Amazon OpenSearch Ingestion pipeline.

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.osis.*;
 CfnPipeline cfnPipeline = CfnPipeline.Builder.create(this, "MyCfnPipeline")
         .maxUnits(123)
         .minUnits(123)
         .pipelineConfigurationBody("pipelineConfigurationBody")
         .pipelineName("pipelineName")
         // the properties below are optional
         .logPublishingOptions(LogPublishingOptionsProperty.builder()
                 .cloudWatchLogDestination(CloudWatchLogDestinationProperty.builder()
                         .logGroup("logGroup")
                         .build())
                 .isLoggingEnabled(false)
                 .build())
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .vpcOptions(VpcOptionsProperty.builder()
                 .securityGroupIds(List.of("securityGroupIds"))
                 .subnetIds(List.of("subnetIds"))
                 .build())
         .build();
 
  • 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

    • CfnPipeline

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

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

      @Stability(Stable) public CfnPipeline(@NotNull Construct scope, @NotNull String id, @NotNull CfnPipelineProps props)
      Create a new AWS::OSIS::Pipeline.

      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      props -
      • resource properties.
      This parameter is required.
  • Method Details

    • 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.
    • getAttrIngestEndpointUrls

      @Stability(Stable) @NotNull public List<String> getAttrIngestEndpointUrls()
      The ingestion endpoints for the pipeline that you can send data to.

      For example, my-pipeline-123456789012.us-east-1.osis.amazonaws.com .

    • getAttrPipelineArn

      @Stability(Stable) @NotNull public String getAttrPipelineArn()
      The Amazon Resource Name (ARN) of the pipeline.
    • getAttrVpcEndpoints

      @Stability(Stable) @NotNull public IResolvable getAttrVpcEndpoints()
      The VPC interface endpoints that have access to the pipeline.
    • getCfnProperties

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

      @Stability(Stable) @NotNull public TagManager getTags()
      List of tags to add to the pipeline upon creation.
    • getMaxUnits

      @Stability(Stable) @NotNull public Number getMaxUnits()
      The maximum pipeline capacity, in Ingestion Compute Units (ICUs).
    • setMaxUnits

      @Stability(Stable) public void setMaxUnits(@NotNull Number value)
      The maximum pipeline capacity, in Ingestion Compute Units (ICUs).
    • getMinUnits

      @Stability(Stable) @NotNull public Number getMinUnits()
      The minimum pipeline capacity, in Ingestion Compute Units (ICUs).
    • setMinUnits

      @Stability(Stable) public void setMinUnits(@NotNull Number value)
      The minimum pipeline capacity, in Ingestion Compute Units (ICUs).
    • getPipelineConfigurationBody

      @Stability(Stable) @NotNull public String getPipelineConfigurationBody()
      The Data Prepper pipeline configuration in YAML format.
    • setPipelineConfigurationBody

      @Stability(Stable) public void setPipelineConfigurationBody(@NotNull String value)
      The Data Prepper pipeline configuration in YAML format.
    • getPipelineName

      @Stability(Stable) @NotNull public String getPipelineName()
      The name of the pipeline.
    • setPipelineName

      @Stability(Stable) public void setPipelineName(@NotNull String value)
      The name of the pipeline.
    • getLogPublishingOptions

      @Stability(Stable) @Nullable public Object getLogPublishingOptions()
      Key-value pairs that represent log publishing settings.
    • setLogPublishingOptions

      @Stability(Stable) public void setLogPublishingOptions(@Nullable CfnPipeline.LogPublishingOptionsProperty value)
      Key-value pairs that represent log publishing settings.
    • setLogPublishingOptions

      @Stability(Stable) public void setLogPublishingOptions(@Nullable IResolvable value)
      Key-value pairs that represent log publishing settings.
    • getVpcOptions

      @Stability(Stable) @Nullable public Object getVpcOptions()
      Options that specify the subnets and security groups for an OpenSearch Ingestion VPC endpoint.
    • setVpcOptions

      @Stability(Stable) public void setVpcOptions(@Nullable IResolvable value)
      Options that specify the subnets and security groups for an OpenSearch Ingestion VPC endpoint.
    • setVpcOptions

      @Stability(Stable) public void setVpcOptions(@Nullable CfnPipeline.VpcOptionsProperty value)
      Options that specify the subnets and security groups for an OpenSearch Ingestion VPC endpoint.