import * as core from "@terrascript/core"; export interface ResourceAssociationArgs extends core.ResourceArgs { /** * (Required) Amazon Resource Name (ARN) of the resource to associate with the RAM Resource Share. */ resourceArn: string | core.StringOut; /** * (Required) Amazon Resource Name (ARN) of the RAM Resource Share. */ resourceShareArn: string | core.StringOut; } export class ResourceAssociation extends core.Resource { /** * The Amazon Resource Name (ARN) of the resource share. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Required) Amazon Resource Name (ARN) of the resource to associate with the RAM Resource Share. */ @core.attr(String) public resourceArn!: string | core.StringOut; /** * (Required) Amazon Resource Name (ARN) of the RAM Resource Share. */ @core.attr(String) public resourceShareArn!: string | core.StringOut; constructor(name: string, args?: ResourceAssociationArgs) { super(name, "aws_ram_resource_association", args); } public override getNamespace(): string { return "aws_ram"; } }