import * as core from "@terrascript/core"; export interface EndpointServiceAllowedPrincipalArgs extends core.ResourceArgs { /** * (Required) The ARN of the principal to allow permissions. */ principalArn: string | core.StringOut; /** * (Required) The ID of the VPC endpoint service to allow permission. */ vpcEndpointServiceId: string | core.StringOut; } export class EndpointServiceAllowedPrincipal extends core.Resource { /** * The ID of the association. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) The ARN of the principal to allow permissions. */ @core.attr(String) public principalArn!: string | core.StringOut; /** * (Required) The ID of the VPC endpoint service to allow permission. */ @core.attr(String) public vpcEndpointServiceId!: string | core.StringOut; constructor(name: string, args?: EndpointServiceAllowedPrincipalArgs) { super(name, "aws_vpc_endpoint_service_allowed_principal", args); } public override getNamespace(): string { return "aws_vpc"; } }