Class CfnResourceIndex

  • All Implemented Interfaces:
    KnowledgeIndex

    public final class CfnResourceIndex
    extends java.lang.Object
    implements KnowledgeIndex
    Index of resources to their CloudFormation identifiers and properties.

    This index performs no validation that the identifiers and reference valid shapes.

    • Constructor Detail

      • CfnResourceIndex

        public CfnResourceIndex​(Model model)
    • Method Detail

      • getResource

        public java.util.Optional<CfnResource> getResource​(ToShapeId resource)
        Gets the definition of the specified CloudFormation resource.
        Parameters:
        resource - ShapeID of a resource
        Returns:
        The resource definition.