Skip to main content

Aws/mediapackagev2

@swamp/aws/mediapackagev2v2026.10.15.1· AGPL-3.0-or-later(was none)· 3d agoBEHAVIORS
01README

AWS MEDIAPACKAGEV2 infrastructure models

02Release Notes
  • Updated: origin_endpoint
03Behaviors5
@swamp/aws/mediapackagev2/channelv2026.10.13.1channel.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
ChannelGroupNamestring
ChannelNamestring
Description?stringEnter any descriptive text that helps you to identify the channel.
InputSwitchConfiguration?objectThe configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive.
InputType?enum
MultiviewConfiguration?objectThe multiview configuration for a channel. A multiview channel composites video from several source channels into a single tiled output stream. Players receive one standard HLS or DASH stream instead of several separate streams. This setting is required when InputType is MULTIVIEW, and can't be set for any other input type.
OutputHeaderConfiguration?objectThe settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN.
OutputLockingMode?enum
Tags?array
fn create()
Create a MediaPackageV2 Channel
fn get(identifier: string)
Get a MediaPackageV2 Channel
ArgumentTypeDescription
identifierstringThe primary identifier of the MediaPackageV2 Channel
fn update()
Update a MediaPackageV2 Channel
fn delete(identifier: string)
Delete a MediaPackageV2 Channel
ArgumentTypeDescription
identifierstringThe primary identifier of the MediaPackageV2 Channel
fn sync()
Sync MediaPackageV2 Channel state from AWS
fn list(maxPages?: number, resourceModel?: string)
List MediaPackageV2 Channel resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— MediaPackageV2 Channel resource state
@swamp/aws/mediapackagev2/channel-groupv2026.10.13.1channel_group.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
ChannelGroupNamestring
Description?stringEnter any descriptive text that helps you to identify the channel group.
Tags?array
fn create()
Create a MediaPackageV2 ChannelGroup
fn get(identifier: string)
Get a MediaPackageV2 ChannelGroup
ArgumentTypeDescription
identifierstringThe primary identifier of the MediaPackageV2 ChannelGroup
fn update()
Update a MediaPackageV2 ChannelGroup
fn delete(identifier: string)
Delete a MediaPackageV2 ChannelGroup
ArgumentTypeDescription
identifierstringThe primary identifier of the MediaPackageV2 ChannelGroup
fn sync()
Sync MediaPackageV2 ChannelGroup state from AWS
fn list(maxPages?: number, resourceModel?: string)
List MediaPackageV2 ChannelGroup resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— MediaPackageV2 ChannelGroup resource state
@swamp/aws/mediapackagev2/channel-policyv2026.10.13.1channel_policy.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
ChannelGroupNamestring
ChannelNamestring
Policyrecord
fn create()
Create a MediaPackageV2 ChannelPolicy
fn get(identifier: string)
Get a MediaPackageV2 ChannelPolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the MediaPackageV2 ChannelPolicy
fn update()
Update a MediaPackageV2 ChannelPolicy
fn delete(identifier: string)
Delete a MediaPackageV2 ChannelPolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the MediaPackageV2 ChannelPolicy
fn sync()
Sync MediaPackageV2 ChannelPolicy state from AWS

Resources

state(infinite)— MediaPackageV2 ChannelPolicy resource state
@swamp/aws/mediapackagev2/origin-endpointv2026.10.15.1origin_endpoint.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
ChannelGroupNamestring
ChannelNamestring
ContainerTypeenum
DashManifests?arrayA DASH manifest configuration.
Description?stringEnter any descriptive text that helps you to identify the origin endpoint.
ForceEndpointErrorConfiguration?objectThe failover settings for the endpoint.
HlsManifests?arrayAn HTTP live streaming (HLS) manifest configuration.
LowLatencyHlsManifests?arrayA low-latency HLS manifest configuration.
MssManifests?arrayThe Microsoft Smooth Streaming (MSS) manifest configurations associated with this origin endpoint.
OriginEndpointNamestring
Segment?objectThe segment configuration, including the segment name, duration, and other configuration values.
StartoverWindowSeconds?numberThe size of the window (in seconds) to create a window of the live stream that's available for on-demand viewing. Viewers can start-over or catch-up on content that falls within the window. The maximum startover window is 1,209,600 seconds (14 days).
StreamNameOutputMode?enum
UriSeparator?enum
Tags?array
fn create()
Create a MediaPackageV2 OriginEndpoint
fn get(identifier: string)
Get a MediaPackageV2 OriginEndpoint
ArgumentTypeDescription
identifierstringThe primary identifier of the MediaPackageV2 OriginEndpoint
fn update()
Update a MediaPackageV2 OriginEndpoint
fn delete(identifier: string)
Delete a MediaPackageV2 OriginEndpoint
ArgumentTypeDescription
identifierstringThe primary identifier of the MediaPackageV2 OriginEndpoint
fn sync()
Sync MediaPackageV2 OriginEndpoint state from AWS
fn list(maxPages?: number, resourceModel?: string)
List MediaPackageV2 OriginEndpoint resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resourceModel?stringJSON resource model for parent-scoped listing (e.g. parent identifier)

Resources

state(infinite)— MediaPackageV2 OriginEndpoint resource state
@swamp/aws/mediapackagev2/origin-endpoint-policyv2026.10.13.1origin_endpoint_policy.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessKeyId?stringAWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault.
secretAccessKey?stringAWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault.
sessionToken?stringAWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
region?stringAWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1.
CdnAuthConfiguration?objectThe settings to enable CDN authorization headers in MediaPackage.
ChannelGroupNamestring
ChannelNamestring
OriginEndpointNamestring
Policyrecord
fn create()
Create a MediaPackageV2 OriginEndpointPolicy
fn get(identifier: string)
Get a MediaPackageV2 OriginEndpointPolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the MediaPackageV2 OriginEndpointPolicy
fn update()
Update a MediaPackageV2 OriginEndpointPolicy
fn delete(identifier: string)
Delete a MediaPackageV2 OriginEndpointPolicy
ArgumentTypeDescription
identifierstringThe primary identifier of the MediaPackageV2 OriginEndpointPolicy
fn sync()
Sync MediaPackageV2 OriginEndpointPolicy state from AWS

Resources

state(infinite)— MediaPackageV2 OriginEndpointPolicy resource state
04Previous Versions19
2026.10.13.1
  • Updated: channel, channel_group, channel_policy, origin_endpoint, origin_endpoint_policy
2026.10.08.1
2026.10.06.1
2026.10.04.1
2026.10.03.1
2026.10.02.1
2026.10.01.1
2026.09.30.1
2026.09.29.1
2026.09.28.1
2026.09.27.1
2026.09.26.1
2026.09.25.1
2026.09.24.1
2026.09.23.1
2026.09.22.1
2026.09.21.1
2026.09.20.1
2026.09.19.1
05Stats
A
100 / 100
Downloads
105
Archive size
1.0 MB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License2/2earned
  • Verified public repository2/2earned
06Platforms
07Labels