import * as core from "@terrascript/core"; export interface DetailsArgs extends core.SchemaArgs { name: string | core.StringOut; policy: string | core.StringOut; } export class Details extends core.Schema { @core.attr(String) public name!: string | core.StringOut; @core.attr(String) public policy!: string | core.StringOut; } export interface MultiRegionAccessPointPolicyArgs extends core.ResourceArgs { /** * (Optional) The AWS account ID for the owner of the Multi-Region Access Point. Defaults to automatica * lly determined account ID of the Terraform AWS provider. */ accountId?: string | core.StringOut; /** * (Required) A configuration block containing details about the policy for the Multi-Region Access Poi * nt. See [Details Configuration Block](#details-configuration) below for more details */ details: Details; } export class MultiRegionAccessPointPolicy extends core.Resource { /** * (Optional) The AWS account ID for the owner of the Multi-Region Access Point. Defaults to automatica * lly determined account ID of the Terraform AWS provider. */ @core.attr(String, { computed: true }) public accountId?: string | core.StringOut; /** * (Required) A configuration block containing details about the policy for the Multi-Region Access Poi * nt. See [Details Configuration Block](#details-configuration) below for more details */ @core.attr(Details) public details!: Details; /** * The last established policy for the Multi-Region Access Point. */ @core.attr(String, { computed: true }) public established!: string | core.StringOut; /** * The AWS account ID and access point name separated by a colon (`:`). */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * The proposed policy for the Multi-Region Access Point. */ @core.attr(String, { computed: true }) public proposed!: string | core.StringOut; constructor(name: string, args?: MultiRegionAccessPointPolicyArgs) { super(name, "aws_s3control_multi_region_access_point_policy", args); } public override getNamespace(): string { return "aws_s3control"; } }