Class IamResourceTrait

    • Field Detail

      • ID

        public static final ShapeId ID
    • Method Detail

      • getName

        public java.util.Optional<java.lang.String> getName()
        Get the AWS IAM resource name.
        Returns:
        Returns the name.
      • resolveResourceName

        public static java.lang.String resolveResourceName​(ResourceShape resource)
        Resolves the IAM resource name for the given resource. Uses the following resolution order:
        1. Value of the @iamResource trait's name property
        2. The resource's name
        Parameters:
        resource - the resource to resolve a name for.
        Returns:
        The resolved resource name.
      • getRelativeDocumentation

        public java.util.Optional<java.lang.String> getRelativeDocumentation()
        Get the relative URL path that defines more information about the resource within a set of IAM-related documentation.
        Returns:
        A relative URL to the documentation page.
      • isDisableConditionKeyInheritance

        public boolean isDisableConditionKeyInheritance()
        Gets if this IAM resource's condition keys are decoupled from those of its parent resource(s).
        Returns:
        Returns true if condition key inheritance is disabled.
      • createNode

        protected Node createNode()
        Description copied from class: AbstractTrait
        The result of toNode is used for hashCodes and equality. Subclasses must implement createNode to turn the trait into a Node. This is then cached for subsequent retrievals.
        Specified by:
        createNode in class AbstractTrait
        Returns:
        Returns the trait as a node.