We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
Resource type definition for AWS::IVS::AdConfiguration. An ad configuration links Amazon IVS resources to AWS Elemental MediaTailor playback configurations, enabling server-side ad insertion for a channel.
Create AdConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AdConfiguration(name: string, args: AdConfigurationArgs, opts?: CustomResourceOptions);@overload
def AdConfiguration(resource_name: str,
args: AdConfigurationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AdConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
media_tailor_playback_configurations: Optional[Sequence[AdConfigurationMediaTailorPlaybackConfigurationArgs]] = None,
name: Optional[str] = None,
post_roll_configuration: Optional[AdConfigurationPostRollConfigurationArgs] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewAdConfiguration(ctx *Context, name string, args AdConfigurationArgs, opts ...ResourceOption) (*AdConfiguration, error)public AdConfiguration(string name, AdConfigurationArgs args, CustomResourceOptions? opts = null)
public AdConfiguration(String name, AdConfigurationArgs args)
public AdConfiguration(String name, AdConfigurationArgs args, CustomResourceOptions options)
type: aws-native:ivs:AdConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_ivs_ad_configuration" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args AdConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AdConfigurationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AdConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AdConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AdConfigurationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
AdConfiguration Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AdConfiguration resource accepts the following input properties:
- Media
Tailor List<Pulumi.Playback Configurations Aws Native. Ivs. Inputs. Ad Configuration Media Tailor Playback Configuration> - List of integration configurations with MediaTailor resources. The first item in the list is the default playback configuration used for the ad configuration.
- Name string
- Ad configuration name. The value does not need to be unique.
- Post
Roll Pulumi.Configuration Aws Native. Ivs. Inputs. Ad Configuration Post Roll Configuration -
List<Pulumi.
Aws Native. Inputs. Tag> - Tags attached to the resource.
- Media
Tailor []AdPlayback Configurations Configuration Media Tailor Playback Configuration Args - List of integration configurations with MediaTailor resources. The first item in the list is the default playback configuration used for the ad configuration.
- Name string
- Ad configuration name. The value does not need to be unique.
- Post
Roll AdConfiguration Configuration Post Roll Configuration Args -
Tag
Args - Tags attached to the resource.
- media_
tailor_ list(object)playback_ configurations - List of integration configurations with MediaTailor resources. The first item in the list is the default playback configuration used for the ad configuration.
- name string
- Ad configuration name. The value does not need to be unique.
- post_
roll_ objectconfiguration - list(object)
- Tags attached to the resource.
- media
Tailor List<AdPlayback Configurations Configuration Media Tailor Playback Configuration> - List of integration configurations with MediaTailor resources. The first item in the list is the default playback configuration used for the ad configuration.
- name String
- Ad configuration name. The value does not need to be unique.
- post
Roll AdConfiguration Configuration Post Roll Configuration - List<Tag>
- Tags attached to the resource.
- media
Tailor AdPlayback Configurations Configuration Media Tailor Playback Configuration[] - List of integration configurations with MediaTailor resources. The first item in the list is the default playback configuration used for the ad configuration.
- name string
- Ad configuration name. The value does not need to be unique.
- post
Roll AdConfiguration Configuration Post Roll Configuration - Tag[]
- Tags attached to the resource.
- media_
tailor_ Sequence[Adplayback_ configurations Configuration Media Tailor Playback Configuration Args] - List of integration configurations with MediaTailor resources. The first item in the list is the default playback configuration used for the ad configuration.
- name str
- Ad configuration name. The value does not need to be unique.
- post_
roll_ Adconfiguration Configuration Post Roll Configuration Args -
Sequence[Tag
Args] - Tags attached to the resource.
- media
Tailor List<Property Map>Playback Configurations - List of integration configurations with MediaTailor resources. The first item in the list is the default playback configuration used for the ad configuration.
- name String
- Ad configuration name. The value does not need to be unique.
- post
Roll Property MapConfiguration - List<Property Map>
- Tags attached to the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the AdConfiguration resource produces the following output properties:
Look up Existing AdConfiguration Resource
Get an existing AdConfiguration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): AdConfiguration@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> AdConfigurationfunc GetAdConfiguration(ctx *Context, name string, id IDInput, state *AdConfigurationState, opts ...ResourceOption) (*AdConfiguration, error)public static AdConfiguration Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static AdConfiguration get(String name, Output<String> id, CustomResourceOptions options)resources: existingAdConfiguration: type: aws-native:ivs:AdConfiguration get: id: ${id}import {
to = aws-native_ivs_ad_configuration.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state AdConfigurationState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
AdConfigurationMediaTailorPlaybackConfiguration, AdConfigurationMediaTailorPlaybackConfigurationArgs
Object specifying a configuration for integration with an AWS Elemental MediaTailor (EMT).
- Playback
Configuration stringArn - ARN of the customer-created EMT PlaybackConfiguration resource in the same region and account.
- Playback
Configuration stringArn - ARN of the customer-created EMT PlaybackConfiguration resource in the same region and account.
- playback_
configuration_ stringarn - ARN of the customer-created EMT PlaybackConfiguration resource in the same region and account.
- playback
Configuration StringArn - ARN of the customer-created EMT PlaybackConfiguration resource in the same region and account.
- playback
Configuration stringArn - ARN of the customer-created EMT PlaybackConfiguration resource in the same region and account.
- playback_
configuration_ strarn - ARN of the customer-created EMT PlaybackConfiguration resource in the same region and account.
- playback
Configuration StringArn - ARN of the customer-created EMT PlaybackConfiguration resource in the same region and account.
AdConfigurationPostRollConfiguration, AdConfigurationPostRollConfigurationArgs
Configuration for the post-roll ad break to use for this ad configuration.
- Duration
Seconds int - Duration of the post-roll ad break, in seconds.
- Enabled bool
- Whether the post-roll ad configuration is enabled.
- Duration
Seconds int - Duration of the post-roll ad break, in seconds.
- Enabled bool
- Whether the post-roll ad configuration is enabled.
- duration_
seconds number - Duration of the post-roll ad break, in seconds.
- enabled bool
- Whether the post-roll ad configuration is enabled.
- duration
Seconds Integer - Duration of the post-roll ad break, in seconds.
- enabled Boolean
- Whether the post-roll ad configuration is enabled.
- duration
Seconds number - Duration of the post-roll ad break, in seconds.
- enabled boolean
- Whether the post-roll ad configuration is enabled.
- duration_
seconds int - Duration of the post-roll ad break, in seconds.
- enabled bool
- Whether the post-roll ad configuration is enabled.
- duration
Seconds Number - Duration of the post-roll ad break, in seconds.
- enabled Boolean
- Whether the post-roll ad configuration is enabled.
Tag, TagArgs
A set of tags to apply to the resource.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi