Class CfnHarvestJob
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.mediapackage.CfnHarvestJob
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IHarvestJobRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-08-10T14:51:07.043Z")
@Stability(Stable)
public class CfnHarvestJob
extends CfnResource
implements IInspectable, IHarvestJobRef
Resource schema for AWS::MediaPackage::HarvestJob.
A HarvestJob extracts a video on demand (VOD) clip from a live content stream.
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.mediapackage.*;
CfnHarvestJob cfnHarvestJob = CfnHarvestJob.Builder.create(this, "MyCfnHarvestJob")
.endTime("endTime")
.id("id")
.originEndpointId("originEndpointId")
.s3Destination(S3DestinationProperty.builder()
.bucketName("bucketName")
.manifestKey("manifestKey")
.roleArn("roleArn")
.build())
.startTime("startTime")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnHarvestJob.static interfaceConfiguration parameters for where in an S3 bucket to place the harvested content.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.interfaces.mediapackage.IHarvestJobRef
IHarvestJobRef.Jsii$Default, IHarvestJobRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnHarvestJob(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnHarvestJob(software.amazon.jsii.JsiiObjectRef objRef) CfnHarvestJob(software.constructs.Construct scope, String id, CfnHarvestJobProps props) Create a newAWS::MediaPackage::HarvestJob. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForHarvestJob(IHarvestJobRef resource) The Amazon Resource Name (ARN) assigned to the HarvestJob.The ID of the Channel that the HarvestJob will harvest from.The date and time the HarvestJob was submitted.The current status of the HarvestJob.The end of the time-window which will be harvested.A reference to a HarvestJob resource.getId()The ID of the HarvestJob.The ID of the OriginEndpoint that the HarvestJob will harvest from.Configuration parameters for where in an S3 bucket to place the harvested content.The start of the time-window which will be harvested.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnHarvestJob.renderProperties(Map<String, Object> props) voidsetEndTime(String value) The end of the time-window which will be harvested.voidThe ID of the HarvestJob.voidsetOriginEndpointId(String value) The ID of the OriginEndpoint that the HarvestJob will harvest from.voidsetS3Destination(IResolvable value) Configuration parameters for where in an S3 bucket to place the harvested content.voidConfiguration parameters for where in an S3 bucket to place the harvested content.voidsetStartTime(String value) The start of the time-window which will be harvested.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods 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
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.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
-
CfnHarvestJob
protected CfnHarvestJob(software.amazon.jsii.JsiiObjectRef objRef) -
CfnHarvestJob
protected CfnHarvestJob(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnHarvestJob
@Stability(Stable) public CfnHarvestJob(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnHarvestJobProps props) Create a newAWS::MediaPackage::HarvestJob.- 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
-
arnForHarvestJob
- Parameters:
resource- This parameter is required.
-
isCfnHarvestJob
Checks whether the given object is a CfnHarvestJob.- Parameters:
x- This parameter is required.
-
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.
-
getAttrArn
The Amazon Resource Name (ARN) assigned to the HarvestJob. -
getAttrChannelId
The ID of the Channel that the HarvestJob will harvest from. -
getAttrCreatedAt
The date and time the HarvestJob was submitted. -
getAttrStatus
The current status of the HarvestJob. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getHarvestJobRef
A reference to a HarvestJob resource.- Specified by:
getHarvestJobRefin interfaceIHarvestJobRef
-
getEndTime
The end of the time-window which will be harvested. -
setEndTime
The end of the time-window which will be harvested. -
getId
The ID of the HarvestJob. -
setId
The ID of the HarvestJob. -
getOriginEndpointId
The ID of the OriginEndpoint that the HarvestJob will harvest from. -
setOriginEndpointId
The ID of the OriginEndpoint that the HarvestJob will harvest from. -
getS3Destination
Configuration parameters for where in an S3 bucket to place the harvested content.Returns union: either
IResolvableorCfnHarvestJob.S3DestinationProperty -
setS3Destination
Configuration parameters for where in an S3 bucket to place the harvested content. -
setS3Destination
Configuration parameters for where in an S3 bucket to place the harvested content. -
getStartTime
The start of the time-window which will be harvested. -
setStartTime
The start of the time-window which will be harvested.
-