Class CfnPipeline
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.osis.CfnPipeline
- All Implemented Interfaces:
IEnvironmentAware,IInspectable,ITaggable,IPipelineRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:40:10.678Z")
@Stability(Stable)
public class CfnPipeline
extends CfnResource
implements IInspectable, IPipelineRef, ITaggable
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.*;
Object policy;
CfnPipeline cfnPipeline = CfnPipeline.Builder.create(this, "MyCfnPipeline")
.maxUnits(123)
.minUnits(123)
.pipelineConfigurationBody("pipelineConfigurationBody")
.pipelineName("pipelineName")
// the properties below are optional
.bufferOptions(BufferOptionsProperty.builder()
.persistentBufferEnabled(false)
.build())
.encryptionAtRestOptions(EncryptionAtRestOptionsProperty.builder()
.kmsKeyArn("kmsKeyArn")
.build())
.logPublishingOptions(LogPublishingOptionsProperty.builder()
.cloudWatchLogDestination(CloudWatchLogDestinationProperty.builder()
.logGroup("logGroup")
.build())
.isLoggingEnabled(false)
.build())
.pipelineRoleArn("pipelineRoleArn")
.resourcePolicy(ResourcePolicyProperty.builder()
.policy(policy)
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.vpcOptions(VpcOptionsProperty.builder()
.subnetIds(List.of("subnetIds"))
// the properties below are optional
.securityGroupIds(List.of("securityGroupIds"))
.vpcAttachmentOptions(VpcAttachmentOptionsProperty.builder()
.attachToVpc(false)
.cidrBlock("cidrBlock")
.build())
.vpcEndpointManagement("vpcEndpointManagement")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceOptions that specify the configuration of a persistent buffer.static final classA fluent builder forCfnPipeline.static interfaceThe destination for OpenSearch Ingestion logs sent to Amazon CloudWatch.static interfaceOptions to control how OpenSearch encrypts buffer data.static interfaceContainer for the values required to configure logging for the pipeline.static interfaceExample:static interfaceOptions for attaching a VPC to pipeline.static interfaceAn OpenSearch Ingestion-managed VPC endpoint that will access one or more pipelines.static interfaceOptions that specify the subnets and security groups for an OpenSearch Ingestion VPC endpoint.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.osis.IPipelineRef
IPipelineRef.Jsii$Default, IPipelineRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnPipeline(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnPipeline(software.amazon.jsii.JsiiObjectRef objRef) CfnPipeline(software.constructs.Construct scope, String id, CfnPipelineProps props) -
Method Summary
Modifier and TypeMethodDescriptionA list of the ingestion endpoints for the pipeline that you can send data to.The Amazon Resource Name (ARN) of the pipeline.The VPC interface endpoints that have access to the pipeline.The VPC endpoint service name for the pipeline.Options that specify the configuration of a persistent buffer.Options to control how OpenSearch encrypts buffer data.Key-value pairs that represent log publishing settings.The maximum pipeline capacity, in Ingestion Compute Units (ICUs).The minimum pipeline capacity, in Ingestion Compute Units (ICUs).The Data Prepper pipeline configuration in YAML format.The name of the pipeline.A reference to a Pipeline resource.The Amazon Resource Name (ARN) of the IAM role that the pipeline uses to access AWS resources.Returns union: eitherIResolvableorCfnPipeline.ResourcePolicyPropertygetTags()Tag Manager which manages the tags for this resource.List of tags to add to the pipeline upon creation.Options that specify the subnets and security groups for an OpenSearch Ingestion VPC endpoint.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetBufferOptions(IResolvable value) Options that specify the configuration of a persistent buffer.voidOptions that specify the configuration of a persistent buffer.voidOptions to control how OpenSearch encrypts buffer data.voidOptions to control how OpenSearch encrypts buffer data.voidKey-value pairs that represent log publishing settings.voidKey-value pairs that represent log publishing settings.voidsetMaxUnits(Number value) The maximum pipeline capacity, in Ingestion Compute Units (ICUs).voidsetMinUnits(Number value) The minimum pipeline capacity, in Ingestion Compute Units (ICUs).voidThe Data Prepper pipeline configuration in YAML format.voidsetPipelineName(String value) The name of the pipeline.voidsetPipelineRoleArn(String value) The Amazon Resource Name (ARN) of the IAM role that the pipeline uses to access AWS resources.voidsetResourcePolicy(IResolvable value) voidvoidsetTagsRaw(List<CfnTag> value) List of tags to add to the pipeline upon creation.voidsetVpcOptions(IResolvable value) Options that specify the subnets and security groups for an OpenSearch Ingestion VPC endpoint.voidOptions that specify the subnets and security groups for an OpenSearch Ingestion VPC endpoint.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
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 software.constructs.Construct scope, @NotNull String id, @NotNull CfnPipelineProps props) - 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
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrIngestEndpointUrls
A list of the ingestion endpoints for the pipeline that you can send data to.Currently, only a single ingestion endpoint is supported for a pipeline. For example,
my-pipeline-123456789012.us-east-1.osis.amazonaws.com. -
getAttrPipelineArn
The Amazon Resource Name (ARN) of the pipeline. -
getAttrVpcEndpoints
The VPC interface endpoints that have access to the pipeline. -
getAttrVpcEndpointService
The VPC endpoint service name for the pipeline. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getPipelineRef
A reference to a Pipeline resource.- Specified by:
getPipelineRefin interfaceIPipelineRef
-
getTags
Tag Manager which manages the tags for this resource. -
getMaxUnits
The maximum pipeline capacity, in Ingestion Compute Units (ICUs). -
setMaxUnits
The maximum pipeline capacity, in Ingestion Compute Units (ICUs). -
getMinUnits
The minimum pipeline capacity, in Ingestion Compute Units (ICUs). -
setMinUnits
The minimum pipeline capacity, in Ingestion Compute Units (ICUs). -
getPipelineConfigurationBody
The Data Prepper pipeline configuration in YAML format. -
setPipelineConfigurationBody
The Data Prepper pipeline configuration in YAML format. -
getPipelineName
The name of the pipeline. -
setPipelineName
The name of the pipeline. -
getBufferOptions
Options that specify the configuration of a persistent buffer.Returns union: either
IResolvableorCfnPipeline.BufferOptionsProperty -
setBufferOptions
Options that specify the configuration of a persistent buffer. -
setBufferOptions
Options that specify the configuration of a persistent buffer. -
getEncryptionAtRestOptions
Options to control how OpenSearch encrypts buffer data.Returns union: either
IResolvableorCfnPipeline.EncryptionAtRestOptionsProperty -
setEncryptionAtRestOptions
Options to control how OpenSearch encrypts buffer data. -
setEncryptionAtRestOptions
@Stability(Stable) public void setEncryptionAtRestOptions(@Nullable CfnPipeline.EncryptionAtRestOptionsProperty value) Options to control how OpenSearch encrypts buffer data. -
getLogPublishingOptions
Key-value pairs that represent log publishing settings.Returns union: either
IResolvableorCfnPipeline.LogPublishingOptionsProperty -
setLogPublishingOptions
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. -
getPipelineRoleArn
The Amazon Resource Name (ARN) of the IAM role that the pipeline uses to access AWS resources. -
setPipelineRoleArn
The Amazon Resource Name (ARN) of the IAM role that the pipeline uses to access AWS resources. -
getResourcePolicy
Returns union: eitherIResolvableorCfnPipeline.ResourcePolicyProperty -
setResourcePolicy
-
setResourcePolicy
@Stability(Stable) public void setResourcePolicy(@Nullable CfnPipeline.ResourcePolicyProperty value) -
getTagsRaw
List of tags to add to the pipeline upon creation. -
setTagsRaw
List of tags to add to the pipeline upon creation. -
getVpcOptions
Options that specify the subnets and security groups for an OpenSearch Ingestion VPC endpoint.Returns union: either
IResolvableorCfnPipeline.VpcOptionsProperty -
setVpcOptions
Options that specify the subnets and security groups for an OpenSearch Ingestion VPC endpoint. -
setVpcOptions
Options that specify the subnets and security groups for an OpenSearch Ingestion VPC endpoint.
-