public final class CfnResourceIndex extends java.lang.Object implements KnowledgeIndex
This index performs no validation that the identifiers and reference valid shapes.
Modifier and Type | Class and Description |
---|---|
static class |
CfnResourceIndex.Mutability
Mutability options derived through lifecycle operations or traits.
|
Constructor and Description |
---|
CfnResourceIndex(Model model) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<CfnResource> |
getResource(ToShapeId resource)
Gets the definition of the specified CloudFormation resource.
|
static CfnResourceIndex |
of(Model model) |
public CfnResourceIndex(Model model)
public static CfnResourceIndex of(Model model)
public java.util.Optional<CfnResource> getResource(ToShapeId resource)
resource
- ShapeID of a resource