import * as core from "@terrascript/core"; export interface InputParameterArgs extends core.SchemaArgs { parameterName: string | core.StringOut; parameterValue: string | core.StringOut; } export class InputParameter extends core.Schema { @core.attr(String) public parameterName!: string | core.StringOut; @core.attr(String) public parameterValue!: string | core.StringOut; } export interface OrganizationConformancePackArgs extends core.ResourceArgs { /** * (Optional) Amazon S3 bucket where AWS Config stores conformance pack templates. Delivery bucket must * begin with `awsconfigconforms` prefix. Maximum length of 63. */ deliveryS3Bucket?: string | core.StringOut; /** * (Optional) The prefix for the Amazon S3 bucket. Maximum length of 1024. */ deliveryS3KeyPrefix?: string | core.StringOut; /** * (Optional) Set of AWS accounts to be excluded from an organization conformance pack while deploying * a conformance pack. Maximum of 1000 accounts. */ excludedAccounts?: core.Array | core.ArrayOut; /** * (Optional) Set of configuration blocks describing input parameters passed to the conformance pack te * mplate. Documented below. When configured, the parameters must also be included in the `template_bod * y` or in the template stored in Amazon S3 if using `template_s3_uri`. */ inputParameter?: core.Array | core.ArrayOut; /** * (Required, Forces new resource) The name of the organization conformance pack. Must begin with a let * ter and contain from 1 to 128 alphanumeric characters and hyphens. */ name: string | core.StringOut; /** * (Optional, Conflicts with `template_s3_uri`) A string containing full conformance pack template body * . Maximum length of 51200. Drift detection is not possible with this argument. */ templateBody?: string | core.StringOut; /** * (Optional, Conflicts with `template_body`) Location of file, e.g., `s3://bucketname/prefix`, contain * ing the template body. The uri must point to the conformance pack template that is located in an Ama * zon S3 bucket in the same region as the conformance pack. Maximum length of 1024. Drift detection is * not possible with this argument. */ templateS3Uri?: string | core.StringOut; } export class OrganizationConformancePack extends core.Resource { /** * Amazon Resource Name (ARN) of the organization conformance pack. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * (Optional) Amazon S3 bucket where AWS Config stores conformance pack templates. Delivery bucket must * begin with `awsconfigconforms` prefix. Maximum length of 63. */ @core.attr(String) public deliveryS3Bucket?: string | core.StringOut; /** * (Optional) The prefix for the Amazon S3 bucket. Maximum length of 1024. */ @core.attr(String) public deliveryS3KeyPrefix?: string | core.StringOut; /** * (Optional) Set of AWS accounts to be excluded from an organization conformance pack while deploying * a conformance pack. Maximum of 1000 accounts. */ @core.attr(String, { kind: "array" }) public excludedAccounts?: core.Array | core.ArrayOut; /** * The name of the organization conformance pack. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) Set of configuration blocks describing input parameters passed to the conformance pack te * mplate. Documented below. When configured, the parameters must also be included in the `template_bod * y` or in the template stored in Amazon S3 if using `template_s3_uri`. */ @core.attr(InputParameter, { kind: "array" }) public inputParameter?: | core.Array | core.ArrayOut; /** * (Required, Forces new resource) The name of the organization conformance pack. Must begin with a let * ter and contain from 1 to 128 alphanumeric characters and hyphens. */ @core.attr(String) public name!: string | core.StringOut; /** * (Optional, Conflicts with `template_s3_uri`) A string containing full conformance pack template body * . Maximum length of 51200. Drift detection is not possible with this argument. */ @core.attr(String) public templateBody?: string | core.StringOut; /** * (Optional, Conflicts with `template_body`) Location of file, e.g., `s3://bucketname/prefix`, contain * ing the template body. The uri must point to the conformance pack template that is located in an Ama * zon S3 bucket in the same region as the conformance pack. Maximum length of 1024. Drift detection is * not possible with this argument. */ @core.attr(String) public templateS3Uri?: string | core.StringOut; constructor(name: string, args?: OrganizationConformancePackArgs) { super(name, "aws_config_organization_conformance_pack", args); } public override getNamespace(): string { return "aws_config"; } }