Class CfnOriginEndpoint

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

@Generated(value="jsii-pacmak/1.99.0 (build 8f757e4)", date="2024-06-13T18:49:21.750Z") @Stability(Stable) public class CfnOriginEndpoint extends CfnResource implements IInspectable, ITaggableV2
Specifies the configuration parameters for a MediaPackage V2 origin endpoint.

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.mediapackagev2.*;
 CfnOriginEndpoint cfnOriginEndpoint = CfnOriginEndpoint.Builder.create(this, "MyCfnOriginEndpoint")
         .channelGroupName("channelGroupName")
         .channelName("channelName")
         .originEndpointName("originEndpointName")
         // the properties below are optional
         .containerType("containerType")
         .dashManifests(List.of(DashManifestConfigurationProperty.builder()
                 .manifestName("manifestName")
                 // the properties below are optional
                 .drmSignaling("drmSignaling")
                 .filterConfiguration(FilterConfigurationProperty.builder()
                         .end("end")
                         .manifestFilter("manifestFilter")
                         .start("start")
                         .timeDelaySeconds(123)
                         .build())
                 .manifestWindowSeconds(123)
                 .minBufferTimeSeconds(123)
                 .minUpdatePeriodSeconds(123)
                 .periodTriggers(List.of("periodTriggers"))
                 .scteDash(ScteDashProperty.builder()
                         .adMarkerDash("adMarkerDash")
                         .build())
                 .segmentTemplateFormat("segmentTemplateFormat")
                 .suggestedPresentationDelaySeconds(123)
                 .utcTiming(DashUtcTimingProperty.builder()
                         .timingMode("timingMode")
                         .timingSource("timingSource")
                         .build())
                 .build()))
         .description("description")
         .hlsManifests(List.of(HlsManifestConfigurationProperty.builder()
                 .manifestName("manifestName")
                 // the properties below are optional
                 .childManifestName("childManifestName")
                 .filterConfiguration(FilterConfigurationProperty.builder()
                         .end("end")
                         .manifestFilter("manifestFilter")
                         .start("start")
                         .timeDelaySeconds(123)
                         .build())
                 .manifestWindowSeconds(123)
                 .programDateTimeIntervalSeconds(123)
                 .scteHls(ScteHlsProperty.builder()
                         .adMarkerHls("adMarkerHls")
                         .build())
                 .url("url")
                 .build()))
         .lowLatencyHlsManifests(List.of(LowLatencyHlsManifestConfigurationProperty.builder()
                 .manifestName("manifestName")
                 // the properties below are optional
                 .childManifestName("childManifestName")
                 .filterConfiguration(FilterConfigurationProperty.builder()
                         .end("end")
                         .manifestFilter("manifestFilter")
                         .start("start")
                         .timeDelaySeconds(123)
                         .build())
                 .manifestWindowSeconds(123)
                 .programDateTimeIntervalSeconds(123)
                 .scteHls(ScteHlsProperty.builder()
                         .adMarkerHls("adMarkerHls")
                         .build())
                 .url("url")
                 .build()))
         .segment(SegmentProperty.builder()
                 .encryption(EncryptionProperty.builder()
                         .encryptionMethod(EncryptionMethodProperty.builder()
                                 .cmafEncryptionMethod("cmafEncryptionMethod")
                                 .tsEncryptionMethod("tsEncryptionMethod")
                                 .build())
                         .spekeKeyProvider(SpekeKeyProviderProperty.builder()
                                 .drmSystems(List.of("drmSystems"))
                                 .encryptionContractConfiguration(EncryptionContractConfigurationProperty.builder()
                                         .presetSpeke20Audio("presetSpeke20Audio")
                                         .presetSpeke20Video("presetSpeke20Video")
                                         .build())
                                 .resourceId("resourceId")
                                 .roleArn("roleArn")
                                 .url("url")
                                 .build())
                         // the properties below are optional
                         .constantInitializationVector("constantInitializationVector")
                         .keyRotationIntervalSeconds(123)
                         .build())
                 .includeIframeOnlyStreams(false)
                 .scte(ScteProperty.builder()
                         .scteFilter(List.of("scteFilter"))
                         .build())
                 .segmentDurationSeconds(123)
                 .segmentName("segmentName")
                 .tsIncludeDvbSubtitles(false)
                 .tsUseAudioRenditionGroup(false)
                 .build())
         .startoverWindowSeconds(123)
         .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

    • CfnOriginEndpoint

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

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

      @Stability(Stable) public CfnOriginEndpoint(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnOriginEndpointProps 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

      @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 Amazon Resource Name (ARN) of the origin endpoint.
    • getAttrCreatedAt

      @Stability(Stable) @NotNull public String getAttrCreatedAt()
      The timestamp of the creation of the origin endpoint.
    • getAttrModifiedAt

      @Stability(Stable) @NotNull public String getAttrModifiedAt()
      The timestamp of the modification of the origin 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
    • getChannelGroupName

      @Stability(Stable) @NotNull public String getChannelGroupName()
      The name of the channel group associated with the origin endpoint configuration.
    • setChannelGroupName

      @Stability(Stable) public void setChannelGroupName(@NotNull String value)
      The name of the channel group associated with the origin endpoint configuration.
    • getChannelName

      @Stability(Stable) @NotNull public String getChannelName()
      The channel name associated with the origin endpoint.
    • setChannelName

      @Stability(Stable) public void setChannelName(@NotNull String value)
      The channel name associated with the origin endpoint.
    • getOriginEndpointName

      @Stability(Stable) @NotNull public String getOriginEndpointName()
      The name of the origin endpoint associated with the origin endpoint configuration.
    • setOriginEndpointName

      @Stability(Stable) public void setOriginEndpointName(@NotNull String value)
      The name of the origin endpoint associated with the origin endpoint configuration.
    • getContainerType

      @Stability(Stable) @Nullable public String getContainerType()
      The container type associated with the origin endpoint configuration.
    • setContainerType

      @Stability(Stable) public void setContainerType(@Nullable String value)
      The container type associated with the origin endpoint configuration.
    • getDashManifests

      @Stability(Stable) @Nullable public Object getDashManifests()

      A DASH manifest configuration.

      .
    • setDashManifests

      @Stability(Stable) public void setDashManifests(@Nullable IResolvable value)

      A DASH manifest configuration.

      .
    • setDashManifests

      @Stability(Stable) public void setDashManifests(@Nullable List<Object> value)

      A DASH manifest configuration.

      .
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      The description associated with the origin endpoint.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      The description associated with the origin endpoint.
    • getHlsManifests

      @Stability(Stable) @Nullable public Object getHlsManifests()
      The HLS manfiests associated with the origin endpoint configuration.
    • setHlsManifests

      @Stability(Stable) public void setHlsManifests(@Nullable IResolvable value)
      The HLS manfiests associated with the origin endpoint configuration.
    • setHlsManifests

      @Stability(Stable) public void setHlsManifests(@Nullable List<Object> value)
      The HLS manfiests associated with the origin endpoint configuration.
    • getLowLatencyHlsManifests

      @Stability(Stable) @Nullable public Object getLowLatencyHlsManifests()
      The low-latency HLS (LL-HLS) manifests associated with the origin endpoint.
    • setLowLatencyHlsManifests

      @Stability(Stable) public void setLowLatencyHlsManifests(@Nullable IResolvable value)
      The low-latency HLS (LL-HLS) manifests associated with the origin endpoint.
    • setLowLatencyHlsManifests

      @Stability(Stable) public void setLowLatencyHlsManifests(@Nullable List<Object> value)
      The low-latency HLS (LL-HLS) manifests associated with the origin endpoint.
    • getSegment

      @Stability(Stable) @Nullable public Object getSegment()
      The segment associated with the origin endpoint.
    • setSegment

      @Stability(Stable) public void setSegment(@Nullable IResolvable value)
      The segment associated with the origin endpoint.
    • setSegment

      @Stability(Stable) public void setSegment(@Nullable CfnOriginEndpoint.SegmentProperty value)
      The segment associated with the origin endpoint.
    • getStartoverWindowSeconds

      @Stability(Stable) @Nullable public Number getStartoverWindowSeconds()
      The size of the window (in seconds) to specify a window of the live stream that's available for on-demand viewing.
    • setStartoverWindowSeconds

      @Stability(Stable) public void setStartoverWindowSeconds(@Nullable Number value)
      The size of the window (in seconds) to specify a window of the live stream that's available for on-demand viewing.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      The tags associated with the origin endpoint.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      The tags associated with the origin endpoint.