Class CfnReplay
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.events.CfnReplay
- All Implemented Interfaces:
IInspectable,IReplayRef,IEnvironmentAware,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-08-10T14:51:03.851Z")
@Stability(Stable)
public class CfnReplay
extends CfnResource
implements IInspectable, IReplayRef
An EventBridge Replay replays archived events from an archive to an event bus.
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.events.*;
CfnReplay cfnReplay = CfnReplay.Builder.create(this, "MyCfnReplay")
.destination(DestinationProperty.builder()
.arn("arn")
.build())
.eventEndTime("eventEndTime")
.eventSourceArn("eventSourceArn")
.eventStartTime("eventStartTime")
.replayName("replayName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnReplay.static interfaceA ReplayDestination object that includes details about the destination for the replay.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.interfaces.events.IReplayRef
IReplayRef.Jsii$Default, IReplayRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnReplay(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnReplay(software.amazon.jsii.JsiiObjectRef objRef) CfnReplay(software.constructs.Construct scope, String id, CfnReplayProps props) Create a newAWS::Events::Replay. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForReplay(IReplayRef resource) The ARN of the replay.A time stamp for the time that the replay started.The current state of the replay.A ReplayDestination object that includes details about the destination for the replay.A time stamp for the time to stop replaying events.The ARN of the archive to replay events from.A time stamp for the time to start replaying events.The name of the replay.A reference to a Replay resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnReplay.renderProperties(Map<String, Object> props) voidsetDestination(IResolvable value) A ReplayDestination object that includes details about the destination for the replay.voidA ReplayDestination object that includes details about the destination for the replay.voidsetEventEndTime(String value) A time stamp for the time to stop replaying events.voidsetEventSourceArn(String value) The ARN of the archive to replay events from.voidsetEventStartTime(String value) A time stamp for the time to start replaying events.voidsetReplayName(String value) The name of the replay.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
-
CfnReplay
protected CfnReplay(software.amazon.jsii.JsiiObjectRef objRef) -
CfnReplay
protected CfnReplay(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnReplay
@Stability(Stable) public CfnReplay(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnReplayProps props) Create a newAWS::Events::Replay.- 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
-
arnForReplay
- Parameters:
resource- This parameter is required.
-
isCfnReplay
Checks whether the given object is a CfnReplay.- 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.
-
getAttrReplayArn
The ARN of the replay. -
getAttrReplayStartTime
A time stamp for the time that the replay started. -
getAttrState
The current state of the replay. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getReplayRef
A reference to a Replay resource.- Specified by:
getReplayRefin interfaceIReplayRef
-
getDestination
A ReplayDestination object that includes details about the destination for the replay.Returns union: either
IResolvableorCfnReplay.DestinationProperty -
setDestination
A ReplayDestination object that includes details about the destination for the replay. -
setDestination
A ReplayDestination object that includes details about the destination for the replay. -
getEventEndTime
A time stamp for the time to stop replaying events. -
setEventEndTime
A time stamp for the time to stop replaying events. -
getEventSourceArn
The ARN of the archive to replay events from. -
setEventSourceArn
The ARN of the archive to replay events from. -
getEventStartTime
A time stamp for the time to start replaying events. -
setEventStartTime
A time stamp for the time to start replaying events. -
getReplayName
The name of the replay. -
setReplayName
The name of the replay.
-