From 2bb01adaf47b6dcd23917df3759c617e29c04458 Mon Sep 17 00:00:00 2001 From: chandra1-n <86221454+chandra1-n@users.noreply.github.com> Date: Fri, 15 Mar 2024 22:04:03 +0530 Subject: [PATCH] feat(statefulNode/aws): added `encrypted`, `kmsKeyId` and `snapshotId` fields added `encrypted`, `kmsKeyId` and `snapshotId` fields --- service/managedinstance/providers/aws/aws.go | 24 ++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/service/managedinstance/providers/aws/aws.go b/service/managedinstance/providers/aws/aws.go index 51bc1e62..82c0d3d2 100644 --- a/service/managedinstance/providers/aws/aws.go +++ b/service/managedinstance/providers/aws/aws.go @@ -177,6 +177,9 @@ type EBS struct { IOPS *int `json:"iops,omitempty"` VolumeSize *int `json:"volumeSize,omitempty"` Throughput *int `json:"throughput,omitempty"` + Encrypted *bool `json:"encrypted,omitempty"` + KmsKeyId *string `json:"kmsKeyId,omitempty"` + SnapshotID *string `json:"snapshotId,omitempty"` forceSendFields []string nullFields []string @@ -1568,6 +1571,27 @@ func (o *EBS) SetDeleteOnTermination(v *bool) *EBS { return o } +func (o *EBS) SetEncrypted(v *bool) *EBS { + if o.Encrypted = v; o.Encrypted == nil { + o.nullFields = append(o.nullFields, "Encrypted") + } + return o +} + +func (o *EBS) SetKmsKeyId(v *string) *EBS { + if o.KmsKeyId = v; o.KmsKeyId == nil { + o.nullFields = append(o.nullFields, "KmsKeyId") + } + return o +} + +func (o *EBS) SetSnapshotId(v *string) *EBS { + if o.SnapshotID = v; o.SnapshotID == nil { + o.nullFields = append(o.nullFields, "SnapshotID") + } + return o +} + // endregion // region ResourceTagSpecification