diff --git a/providers/aws/resources/aws.lr.go b/providers/aws/resources/aws.lr.go index a83899cf30..c115b9ef8f 100644 --- a/providers/aws/resources/aws.lr.go +++ b/providers/aws/resources/aws.lr.go @@ -1872,6 +1872,9 @@ var getDataFields = map[string]func(r plugin.Resource) *plugin.DataRes{ "aws.rds.dbinstance.status": func(r plugin.Resource) *plugin.DataRes { return (r.(*mqlAwsRdsDbinstance).GetStatus()).ToDataRes(types.String) }, + "aws.rds.dbinstance.autoMinorVersionUpgrade": func(r plugin.Resource) *plugin.DataRes { + return (r.(*mqlAwsRdsDbinstance).GetAutoMinorVersionUpgrade()).ToDataRes(types.Bool) + }, "aws.elasticache.clusters": func(r plugin.Resource) *plugin.DataRes { return (r.(*mqlAwsElasticache).GetClusters()).ToDataRes(types.Array(types.Dict)) }, @@ -4640,6 +4643,10 @@ var setDataFields = map[string]func(r plugin.Resource, v *llx.RawData) bool { r.(*mqlAwsRdsDbinstance).Status, ok = plugin.RawToTValue[string](v.Value, v.Error) return }, + "aws.rds.dbinstance.autoMinorVersionUpgrade": func(r plugin.Resource, v *llx.RawData) (ok bool) { + r.(*mqlAwsRdsDbinstance).AutoMinorVersionUpgrade, ok = plugin.RawToTValue[bool](v.Value, v.Error) + return + }, "aws.elasticache.__id": func(r plugin.Resource, v *llx.RawData) (ok bool) { r.(*mqlAwsElasticache).__id, ok = v.Value.(string) return @@ -12403,6 +12410,7 @@ type mqlAwsRdsDbinstance struct { Engine plugin.TValue[string] SecurityGroups plugin.TValue[[]interface{}] Status plugin.TValue[string] + AutoMinorVersionUpgrade plugin.TValue[bool] } // createAwsRdsDbinstance creates a new instance of this resource @@ -12526,6 +12534,10 @@ func (c *mqlAwsRdsDbinstance) GetStatus() *plugin.TValue[string] { return &c.Status } +func (c *mqlAwsRdsDbinstance) GetAutoMinorVersionUpgrade() *plugin.TValue[bool] { + return &c.AutoMinorVersionUpgrade +} + // mqlAwsElasticache for the aws.elasticache resource type mqlAwsElasticache struct { MqlRuntime *plugin.Runtime diff --git a/providers/aws/resources/aws.lr.manifest.yaml b/providers/aws/resources/aws.lr.manifest.yaml index 7642e82a47..aef9346d9d 100755 --- a/providers/aws/resources/aws.lr.manifest.yaml +++ b/providers/aws/resources/aws.lr.manifest.yaml @@ -1151,6 +1151,7 @@ resources: aws.rds.dbinstance: fields: arn: {} + autoMinorVersionUpgrade: {} backupRetentionPeriod: {} dbInstanceClass: {} dbInstanceIdentifier: {}