import * as core from "@terrascript/core"; export interface KeyGroupArgs extends core.ResourceArgs { /** * (Optional) A comment to describe the key group.. */ comment?: string | core.StringOut; /** * (Required) A list of the identifiers of the public keys in the key group. */ items: core.Array | core.ArrayOut; /** * (Required) A name to identify the key group. */ name: string | core.StringOut; } export class KeyGroup extends core.Resource { /** * (Optional) A comment to describe the key group.. */ @core.attr(String) public comment?: string | core.StringOut; /** * The identifier for this version of the key group. */ @core.attr(String, { computed: true }) public etag!: string | core.StringOut; /** * The identifier for the key group. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) A list of the identifiers of the public keys in the key group. */ @core.attr(String, { kind: "array" }) public items!: core.Array | core.ArrayOut; /** * (Required) A name to identify the key group. */ @core.attr(String) public name!: string | core.StringOut; constructor(name: string, args?: KeyGroupArgs) { super(name, "aws_cloudfront_key_group", args); } public override getNamespace(): string { return "aws_cloudfront"; } }