Repository: aws-cloudformation/cfn-lint

Issue:
v1: E1017 {'Fn::GetAtt': ['VPC', 'Ipv6CidrBlocks']} is not of type 'array'
### CloudFormation Lint Version

v1.3.0

### What operating system are you using?

Ubuntu

### Describe the bug

cfn-lint don't match to the right check it check for Ipv6CidrBlock**s** but the code say Ipv6CidrBlock (without s)



### Expected behavior

cfn-lint check with the right rule Ipv6CidrBlock

### Reproduction template

Example from AWS:
```yaml
  mySubnet:
    Type: AWS::EC2::Subnet
    Properties:
      VpcId: !Ref myVPC
      Ipv6Native: true
      Ipv6CidrBlock: !Select [ 0, !Cidr [ !Select [ 0, !GetAtt myVpc.Ipv6CidrBlocks], 1, 64 ]]
      AssignIpv6AddressOnCreation: true
```


Discussion:

Patch:
diff --git a/src/cfnlint/schema/_getatts.py b/src/cfnlint/schema/_getatts.py
index ae4c3ef75e..22343251fd 100644
--- a/src/cfnlint/schema/_getatts.py
+++ b/src/cfnlint/schema/_getatts.py
@@ -273,7 +273,6 @@ def _process_schema(self, obj: dict[str, Any], schema: "Schema", path: str):
             # so we only look at an array of strings, etc.
             if obj.get("items", {}).get("type") in ["object", "array"]:
                 return
-            path = f"{path}/*"
             self._attrs[self._pointer_to_attr(path)] = path
         elif obj.get("$ref"):
             _, obj = schema.resolver.resolve(obj.get("$ref"))


Test patch:
diff --git a/test/unit/module/schema/test_schema.py b/test/unit/module/schema/test_schema.py
index 4cfb495071..94d3bbbff1 100644
--- a/test/unit/module/schema/test_schema.py
+++ b/test/unit/module/schema/test_schema.py
@@ -63,3 +63,101 @@ def test_schema(resource_schema):
     assert schema.get_atts["Arn"] == "/properties/Arn"
     assert schema.get_atts["Id"] == "/properties/Id"
     assert schema.get_atts["List"] == "/properties/List"
+
+
+@pytest.fixture
+def resource_vpc_schema():
+    return {
+        "additionalProperties": False,
+        "conditionalCreateOnlyProperties": ["/properties/InstanceTenancy"],
+        "createOnlyProperties": [
+            "/properties/CidrBlock",
+            "/properties/Ipv4IpamPoolId",
+            "/properties/Ipv4NetmaskLength",
+        ],
+        "definitions": {
+            "Tag": {
+                "additionalProperties": False,
+                "properties": {"Key": {"type": "string"}, "Value": {"type": "string"}},
+                "required": ["Value", "Key"],
+                "type": "object",
+            }
+        },
+        "dependentRequired": {"Ipv4IpamPoolId": ["Ipv4NetmaskLength"]},
+        "primaryIdentifier": ["/properties/VpcId"],
+        "properties": {
+            "CidrBlock": {"type": "string"},
+            "CidrBlockAssociations": {
+                "insertionOrder": False,
+                "items": {"type": "string"},
+                "type": "array",
+                "uniqueItems": False,
+            },
+            "DefaultNetworkAcl": {"insertionOrder": False, "type": "string"},
+            "DefaultSecurityGroup": {
+                "format": "AWS::EC2::SecurityGroup.GroupId",
+                "insertionOrder": False,
+                "type": "string",
+            },
+            "EnableDnsHostnames": {"type": "boolean"},
+            "EnableDnsSupport": {"type": "boolean"},
+            "InstanceTenancy": {"type": "string"},
+            "Ipv4IpamPoolId": {"type": "string"},
+            "Ipv4NetmaskLength": {"type": "integer"},
+            "Ipv6CidrBlocks": {
+                "insertionOrder": False,
+                "items": {"type": "string"},
+                "type": "array",
+                "uniqueItems": False,
+            },
+            "Tags": {
+                "insertionOrder": False,
+                "items": {"$ref": "#/definitions/Tag"},
+                "type": "array",
+                "uniqueItems": False,
+            },
+            "VpcId": {"format": "AWS::EC2::VPC.Id", "type": "string"},
+        },
+        "readOnlyProperties": [
+            "/properties/CidrBlockAssociations",
+            "/properties/DefaultNetworkAcl",
+            "/properties/DefaultSecurityGroup",
+            "/properties/Ipv6CidrBlocks",
+            "/properties/VpcId",
+        ],
+        "requiredXor": ["CidrBlock", "Ipv4IpamPoolId"],
+        "tagging": {
+            "cloudFormationSystemTags": True,
+            "tagOnCreate": True,
+            "tagProperty": "/properties/Tags",
+            "tagUpdatable": True,
+            "taggable": True,
+        },
+        "typeName": "AWS::EC2::VPC",
+        "writeOnlyProperties": [
+            "/properties/Ipv4IpamPoolId",
+            "/properties/Ipv4NetmaskLength",
+        ],
+    }
+
+
+def test_vpc_schema(resource_vpc_schema):
+
+    schema = Schema(schema=resource_vpc_schema)
+    assert list(schema.get_atts.keys()) == [
+        "CidrBlock",
+        "CidrBlockAssociations",
+        "DefaultNetworkAcl",
+        "DefaultSecurityGroup",
+        "EnableDnsHostnames",
+        "EnableDnsSupport",
+        "InstanceTenancy",
+        "Ipv4IpamPoolId",
+        "Ipv4NetmaskLength",
+        "Ipv6CidrBlocks",
+        "Tags",
+        "VpcId",
+    ]
+    assert schema.get_atts["VpcId"] == "/properties/VpcId"
+    assert schema.get_atts["CidrBlock"] == "/properties/CidrBlock"
+    assert schema.get_atts["Ipv6CidrBlocks"] == "/properties/Ipv6CidrBlocks"