CmdID / aws / aws cloudformation
aws cloudformation register-type
Registers an extension with the CloudFormation service. AWS CLI reference
1 example 6 options Its page in the AWS CLI reference
Examples
To register a resource type
The following register-type example registers the specified resource type as a private resource type in the user's account.
aws cloudformation register-type --type-name My::Organization::ResourceName --schema-handler-package s3://amzn-s3-demo-bucket_name/my-organization-resource_name.zip --type RESOURCEIdentify--type-nameThe name of the extension being registered.--schema-handler-packageA URL to the S3 bucket that contains the extension project package that contains the necessary files for the extension you want to register.--typeThe kind of extension.Its output
{
"RegistrationToken": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
}For more information, see Registering extensions for use in the CloudFormation registry in the CloudFormation Command Line Interface (CLI) User Guide.
Options
--client-request-tokenA unique identifier that acts as an idempotency key for this registration request.--execution-role-arnThe Amazon Resource Name (ARN) of the IAM role for CloudFormation to assume when invoking the extension.--logging-configSpecifies logging configuration information for an extension.--schema-handler-packageA URL to the S3 bucket that contains the extension project package that contains the necessary files for the extension you want to register.--type-nameThe name of the extension being registered.--typeThe kind of extension.