Skip to content
v2.278.0

ArchiveGroupSettingsProperty Struct ​

The settings for an archive output group.

The parent of this entity is OutputGroupSettings.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_medialive as medialive } from 'aws-cdk-lib';
const archiveGroupSettingsProperty: medialive.CfnChannel.ArchiveGroupSettingsProperty = {
  archiveCdnSettings: {
    archiveS3Settings: {
      cannedAcl: 'cannedAcl',
    },
  },
  destination: {
    destinationRefId: 'destinationRefId',
  },
  rolloverInterval: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_medialive as medialive

archive_group_settings_property = medialive.CfnChannel.ArchiveGroupSettingsProperty(
    archive_cdn_settings=medialive.CfnChannel.ArchiveCdnSettingsProperty(
        archive_s3_settings=medialive.CfnChannel.ArchiveS3SettingsProperty(
            canned_acl="cannedAcl"
        )
    ),
    destination=medialive.CfnChannel.OutputLocationRefProperty(
        destination_ref_id="destinationRefId"
    ),
    rollover_interval=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.medialive.*;

ArchiveGroupSettingsProperty archiveGroupSettingsProperty = ArchiveGroupSettingsProperty.builder()
        .archiveCdnSettings(ArchiveCdnSettingsProperty.builder()
                .archiveS3Settings(ArchiveS3SettingsProperty.builder()
                        .cannedAcl("cannedAcl")
                        .build())
                .build())
        .destination(OutputLocationRefProperty.builder()
                .destinationRefId("destinationRefId")
                .build())
        .rolloverInterval(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive;

var archiveGroupSettingsProperty = new ArchiveGroupSettingsProperty {
    ArchiveCdnSettings = new ArchiveCdnSettingsProperty {
        ArchiveS3Settings = new ArchiveS3SettingsProperty {
            CannedAcl = "cannedAcl"
        }
    },
    Destination = new OutputLocationRefProperty {
        DestinationRefId = "destinationRefId"
    },
    RolloverInterval = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

archiveGroupSettingsProperty := &ArchiveGroupSettingsProperty{
	ArchiveCdnSettings: &ArchiveCdnSettingsProperty{
		ArchiveS3Settings: &ArchiveS3SettingsProperty{
			CannedAcl: jsii.String("cannedAcl"),
		},
	},
	Destination: &OutputLocationRefProperty{
		DestinationRefId: jsii.String("destinationRefId"),
	},
	RolloverInterval: jsii.Number(123),
}

Properties ​

archiveCdnSettingsoptionalIResolvable | CfnChannel.ArchiveCdnSettingsPropertyarchive_cdn_settingsoptionaltyping.Union[IResolvable, ArchiveCdnSettingsProperty]archiveCdnSettingsoptionalIResolvableArchiveCdnSettingsoptionalIResolvableArchiveCdnSettingsoptionalinterface{} #
Settings to configure the destination of an Archive output.
destinationoptionalIResolvable | CfnChannel.OutputLocationRefPropertydestinationoptionaltyping.Union[IResolvable, OutputLocationRefProperty]destinationoptionalIResolvableDestinationoptionalIResolvableDestinationoptionalinterface{} #
A directory and base file name where archive files should be written.
rolloverIntervaloptionalnumberrollover_intervaloptionalint | floatrolloverIntervaloptionalNumberRolloverIntervaloptionaldoubleRolloverIntervaloptional*float64 #
The number of seconds to write to an archive file before closing and starting a new one.