import * as core from "@terrascript/core"; export interface DomainServiceAccessPolicyArgs extends core.ResourceArgs { /** * (Required) The access rules you want to configure. These rules replace any existing rules. See the [ * AWS documentation](https://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-access. * html) for details. */ accessPolicy: string | core.StringOut; /** * (Required) The CloudSearch domain name the policy applies to. */ domainName: string | core.StringOut; } export class DomainServiceAccessPolicy extends core.Resource { /** * (Required) The access rules you want to configure. These rules replace any existing rules. See the [ * AWS documentation](https://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-access. * html) for details. */ @core.attr(String) public accessPolicy!: string | core.StringOut; /** * (Required) The CloudSearch domain name the policy applies to. */ @core.attr(String) public domainName!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; constructor(name: string, args?: DomainServiceAccessPolicyArgs) { super(name, "aws_cloudsearch_domain_service_access_policy", args); } public override getNamespace(): string { return "aws_cloudsearch"; } }