import * as core from "@terrascript/core"; export interface ObjectLambdaAccessPointPolicyArgs extends core.ResourceArgs { /** * (Optional) The AWS account ID for the account that owns the Object Lambda Access Point. Defaults to * automatically determined account ID of the Terraform AWS provider. */ accountId?: string | core.StringOut; /** * (Required) The name of the Object Lambda Access Point. */ name: string | core.StringOut; /** * (Required) The Object Lambda Access Point resource policy document. */ policy: string | core.StringOut; } export class ObjectLambdaAccessPointPolicy extends core.Resource { /** * (Optional) The AWS account ID for the account that owns the Object Lambda Access Point. Defaults to * automatically determined account ID of the Terraform AWS provider. */ @core.attr(String, { computed: true }) public accountId?: string | core.StringOut; /** * Indicates whether this access point currently has a policy that allows public access. */ @core.attr(Boolean, { computed: true }) public hasPublicAccessPolicy!: boolean | core.BooleanOut; /** * The AWS account ID and access point name separated by a colon (`:`). */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The name of the Object Lambda Access Point. */ @core.attr(String) public name!: string | core.StringOut; /** * (Required) The Object Lambda Access Point resource policy document. */ @core.attr(String) public policy!: string | core.StringOut; constructor(name: string, args?: ObjectLambdaAccessPointPolicyArgs) { super(name, "aws_s3control_object_lambda_access_point_policy", args); } public override getNamespace(): string { return "aws_s3control"; } }