Class CfnResourceTrait.Provider

java.lang.Object
software.amazon.smithy.model.traits.AbstractTrait.Provider
software.amazon.smithy.aws.cloudformation.traits.CfnResourceTrait.Provider
All Implemented Interfaces:
TraitService
Enclosing class:
CfnResourceTrait

public static final class CfnResourceTrait.Provider extends AbstractTrait.Provider
  • Constructor Details

    • Provider

      public Provider()
  • Method Details

    • createTrait

      public Trait createTrait(ShapeId target, Node value)
      Description copied from interface: TraitService
      Creates the trait from a node value.
      Parameters:
      target - The shape targeted by the trait.
      value - The value of the trait.
      Returns:
      Returns the created trait.