import * as core from "@terrascript/core"; export interface CachedIscsiVolumeArgs extends core.ResourceArgs { /** * (Required) The Amazon Resource Name (ARN) of the gateway. */ gatewayArn: string | core.StringOut; /** * (Optional) Set to `true` to use Amazon S3 server side encryption with your own AWS KMS key, or `fals * e` to use a key managed by Amazon S3. */ kmsEncrypted?: boolean | core.BooleanOut; /** * (Optional) The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encrypti * on. Is required when `kms_encrypted` is set. */ kmsKey?: string | core.StringOut; /** * (Required) The network interface of the gateway on which to expose the iSCSI target. Only IPv4 addre * sses are accepted. */ networkInterfaceId: string | core.StringOut; /** * (Optional) The snapshot ID of the snapshot to restore as the new cached volumeE.g., `snap-1122aabb`. */ snapshotId?: string | core.StringOut; /** * (Optional) The ARN for an existing volume. Specifying this ARN makes the new volume into an exact co * py of the specified existing volume's latest recovery point. The `volume_size_in_bytes` value for th * is new volume must be equal to or larger than the size of the existing volume, in bytes. */ sourceVolumeArn?: string | core.StringOut; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-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; /** * (Required) The name of the iSCSI target used by initiators to connect to the target and as a suffix * for the target ARN. The target name must be unique across all volumes of a gateway. */ targetName: string | core.StringOut; /** * (Required) The size of the volume in bytes. */ volumeSizeInBytes: number | core.NumberOut; } export declare class CachedIscsiVolume extends core.Resource { /** * Volume Amazon Resource Name (ARN), e.g., `arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw- * 12345678/volume/vol-12345678`. */ arn: string | core.StringOut; /** * Whether mutual CHAP is enabled for the iSCSI target. */ chapEnabled: boolean | core.BooleanOut; /** * (Required) The Amazon Resource Name (ARN) of the gateway. */ gatewayArn: string | core.StringOut; /** * Volume Amazon Resource Name (ARN), e.g., `arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw- * 12345678/volume/vol-12345678`. */ id: string | core.StringOut; /** * (Optional) Set to `true` to use Amazon S3 server side encryption with your own AWS KMS key, or `fals * e` to use a key managed by Amazon S3. */ kmsEncrypted?: boolean | core.BooleanOut; /** * (Optional) The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encrypti * on. Is required when `kms_encrypted` is set. */ kmsKey?: string | core.StringOut; /** * Logical disk number. */ lunNumber: number | core.NumberOut; /** * (Required) The network interface of the gateway on which to expose the iSCSI target. Only IPv4 addre * sses are accepted. */ networkInterfaceId: string | core.StringOut; /** * The port used to communicate with iSCSI targets. */ networkInterfacePort: number | core.NumberOut; /** * (Optional) The snapshot ID of the snapshot to restore as the new cached volumeE.g., `snap-1122aabb`. */ snapshotId?: string | core.StringOut; /** * (Optional) The ARN for an existing volume. Specifying this ARN makes the new volume into an exact co * py of the specified existing volume's latest recovery point. The `volume_size_in_bytes` value for th * is new volume must be equal to or larger than the size of the existing volume, in bytes. */ sourceVolumeArn?: string | core.StringOut; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-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; /** * Target Amazon Resource Name (ARN), e.g., `arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw- * 12345678/target/iqn.1997-05.com.amazon:TargetName`. */ targetArn: string | core.StringOut; /** * (Required) The name of the iSCSI target used by initiators to connect to the target and as a suffix * for the target ARN. The target name must be unique across all volumes of a gateway. */ targetName: string | core.StringOut; /** * Volume Amazon Resource Name (ARN), e.g., `arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw- * 12345678/volume/vol-12345678`. */ volumeArn: string | core.StringOut; /** * Volume ID, e.g., `vol-12345678`. */ volumeId: string | core.StringOut; /** * (Required) The size of the volume in bytes. */ volumeSizeInBytes: number | core.NumberOut; constructor(name: string, args?: CachedIscsiVolumeArgs); getNamespace(): string; } //# sourceMappingURL=cached_iscsi_volume.d.ts.map