CloudFormationClient.set_type_configuration
rboto-cloudformation==0.4.0 · Service index · Types
Model summary (excerpt): Specifies the configuration data for a CloudFormation extension, such as a resource or Hook, in the given account and Region. For more information, see Edit configuration data for extensions in your account in the CloudFormation User Guide . To view the current configuration data for an extension, refer to the ConfigurationSchema element of DescribeType . It's strongly recommended that you use...
Install and imports
from rboto import CloudFormationClient
from rboto_cloudformation.types import (
SetTypeConfigurationOutput,
ThirdPartyType,
)
Signature
async def set_type_configuration(
*,
configuration: str,
type_arn: str | None = None,
configuration_alias: str | None = None,
type_name: str | None = None,
type: ThirdPartyType | None = None,
) -> SetTypeConfigurationOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
configuration |
Yes | The configuration data for the extension in this account and Region. The configuration data must be formatted as JSON and validate against the extension's schema returned in the Schema response element of DescribeType . |
type_arn |
No | The Amazon Resource Name (ARN) for the extension in this account and Region. For public extensions, this will be the ARN assigned when you call the ActivateType API operation in this account and Region. For private extensions, this will be the ARN assigned when you call the RegisterType API operation in this account and Region. Do not include the extension versions suffix at the end of the... |
configuration_alias |
No | An alias by which to refer to this extension configuration data. Conditional: Specifying a configuration alias is required when setting a configuration for a resource type extension. |
type_name |
No | The name of the extension. Conditional: You must specify ConfigurationArn , or Type and TypeName . |
type |
No | The type of extension. Conditional: You must specify ConfigurationArn , or Type and TypeName . |
Output
SetTypeConfigurationOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
configuration_arn |
str | None |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
SetTypeConfigurationOutput, ThirdPartyType
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_cloudformation.exceptions:
CFNRegistryError, TypeNotFoundError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.