import * as core from "@terrascript/core"; export interface LocationFsxLustreFileSystemArgs extends core.ResourceArgs { /** * (Required) The Amazon Resource Name (ARN) for the FSx for Lustre file system. */ fsxFilesystemArn: string | core.StringOut; /** * (Optional) The Amazon Resource Names (ARNs) of the security groups that are to use to configure the * FSx for Lustre file system. */ securityGroupArns: core.Array | core.ArrayOut; /** * (Optional) Subdirectory to perform actions as source or destination. */ subdirectory?: string | core.StringOut; /** * (Optional) Key-value pairs of resource tags to assign to the DataSync Location. If configured with a * provider [`default_tags` configuration block](https://registry.terraform.io/providers/hashicorp/aws * /latest/docs#default_tags-configuration-block) present, tags with matching keys will overwrite those * defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export class LocationFsxLustreFileSystem extends core.Resource { /** * Amazon Resource Name (ARN) of the DataSync Location. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; /** * The time that the FSx for Lustre location was created. */ @core.attr(String, { computed: true }) public creationTime!: string | core.StringOut; /** * (Required) The Amazon Resource Name (ARN) for the FSx for Lustre file system. */ @core.attr(String) public fsxFilesystemArn!: string | core.StringOut; /** * Amazon Resource Name (ARN) of the DataSync Location. */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) The Amazon Resource Names (ARNs) of the security groups that are to use to configure the * FSx for Lustre file system. */ @core.attr(String, { kind: "array" }) public securityGroupArns!: core.Array | core.ArrayOut; /** * (Optional) Subdirectory to perform actions as source or destination. */ @core.attr(String, { computed: true }) public subdirectory?: string | core.StringOut; /** * (Optional) Key-value pairs of resource tags to assign to the DataSync Location. If configured with a * provider [`default_tags` configuration block](https://registry.terraform.io/providers/hashicorp/aws * /latest/docs#default_tags-configuration-block) present, tags with matching keys will overwrite those * defined at the provider-level. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; /** * The URL of the FSx for Lustre location that was described. */ @core.attr(String, { computed: true }) public uri!: string | core.StringOut; constructor(name: string, args?: LocationFsxLustreFileSystemArgs) { super(name, "aws_datasync_location_fsx_lustre_file_system", args); } public override getNamespace(): string { return "aws_datasync"; } }