Skip to content
v2.278.0

IMemoryStrategy Interface ​

Interface for Memory strategies.

Properties ​

descriptionmay be undefinedstringdescriptionmay be undefinedstrdescriptionmay be undefinedStringDescriptionmay be undefinedstringDescriptionmay be undefined*string #
The description of the memory strategy.
namestringnamestrnameStringNamestringName*string #
The name of the memory strategy.
strategyTypeMemoryStrategyTypestrategy_typeMemoryStrategyTypestrategyTypeMemoryStrategyTypeStrategyTypeMemoryStrategyTypeStrategyTypeMemoryStrategyType #
The type of memory strategy.

Methods ​

grant(grantee: IGrantable): Grantdef grant(self, grantee: IGrantable) -> Grantpublic Grant grant(IGrantable grantee)public Grant Grant(IGrantable grantee)func Grant(Grantee IGrantable) Grant #
Grants the necessary permissions to the role.
1 parameter · returns

Parameters

  • granteegranteegranteegranteeGrantee — - The grantee to grant permissions to.

Returns: The Grant object for chaining

render(): CfnMemory.MemoryStrategyPropertydef render(self, ) -> MemoryStrategyPropertypublic MemoryStrategyProperty render()public MemoryStrategyProperty Render()func Render() MemoryStrategyProperty #
Renders internal attributes to CloudFormation.