import * as core from "@terrascript/core"; export interface MediaStoreContainerPolicyArgs extends core.ResourceArgs { /** * (Required) The name of the container. */ containerName: string | core.StringOut; /** * (Required) The contents of the policy. For more information about building AWS IAM policy documents * with Terraform, see the [AWS IAM Policy Document Guide](https://learn.hashicorp.com/terraform/aws/ia * m-policy). */ policy: string | core.StringOut; } export class MediaStoreContainerPolicy extends core.Resource { /** * (Required) The name of the container. */ @core.attr(String) public containerName!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The contents of the policy. For more information about building AWS IAM policy documents * with Terraform, see the [AWS IAM Policy Document Guide](https://learn.hashicorp.com/terraform/aws/ia * m-policy). */ @core.attr(String) public policy!: string | core.StringOut; constructor(name: string, args?: MediaStoreContainerPolicyArgs) { super(name, "aws_media_store_container_policy", args); } public override getNamespace(): string { return "aws_elemental_mediastore"; } }