RegistryExample
A code example extracted from a resource or function description.
Properties
idstring requiredStable identifier within the package version. Format: ‘# ’, where slug is the kebab-case title (e.g. ‘aws:ec2/instance:Instance#account-analyzer’), falling back to ’example- ’ when there is no heading. Duplicates within the same type token are suffixed ‘-2’, ‘-3’, etc. titlestring requiredTitle derived from the surrounding heading or caption. Capped at 120 chars. Empty when none was available; rely on ‘id’ for addressability.codestring requiredExample source code in the resolved language.typeTokenstring requiredPulumi type token this example belongs to.kindstring requiredWhether ’typeToken’ is a ‘resource’ or ‘function’.
Thank you for your feedback!
If you have a question about how to use Pulumi, reach out in Community Slack.
Open an issue on GitHub to report a problem or suggest an improvement.