[][src]Struct rusoto_cloudformation::RegisterTypeInput

pub struct RegisterTypeInput {
    pub client_request_token: Option<String>,
    pub execution_role_arn: Option<String>,
    pub logging_config: Option<LoggingConfig>,
    pub schema_handler_package: String,
    pub type_: Option<String>,
    pub type_name: String,
}

Fields

client_request_token: Option<String>

A unique identifier that acts as an idempotency key for this registration request. Specifying a client request token prevents CloudFormation from generating more than one version of a type from the same registeration request, even if the request is submitted multiple times.

execution_role_arn: Option<String>

The Amazon Resource Name (ARN) of the IAM role for CloudFormation to assume when invoking the resource provider. If your resource type calls AWS APIs in any of its handlers, you must create an IAM execution role that includes the necessary permissions to call those AWS APIs, and provision that execution role in your account. When CloudFormation needs to invoke the resource provider handler, CloudFormation assumes this execution role to create a temporary session token, which it then passes to the resource provider handler, thereby supplying your resource provider with the appropriate credentials.

logging_config: Option<LoggingConfig>

Specifies logging configuration information for a type.

schema_handler_package: String

A url to the S3 bucket containing the schema handler package that contains the schema, event handlers, and associated files for the type you want to register.

For information on generating a schema handler package for the type you want to register, see submit in the CloudFormation CLI User Guide.

As part of registering a resource provider type, CloudFormation must be able to access the S3 bucket which contains the schema handler package for that resource provider. For more information, see IAM Permissions for Registering a Resource Provider in the AWS CloudFormation User Guide.

type_: Option<String>

The kind of type.

Currently, the only valid value is RESOURCE.

type_name: String

The name of the type being registered.

We recommend that type names adhere to the following pattern: companyororganization::service::type.

The following organization namespaces are reserved and cannot be used in your resource type names:

  • Alexa

  • AMZN

  • Amazon

  • AWS

  • Custom

  • Dev

Trait Implementations

impl Clone for RegisterTypeInput[src]

impl Debug for RegisterTypeInput[src]

impl Default for RegisterTypeInput[src]

impl PartialEq<RegisterTypeInput> for RegisterTypeInput[src]

impl StructuralPartialEq for RegisterTypeInput[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.