ApiKeyProperties

Struct ApiKeyProperties 

Source
pub struct ApiKeyProperties {
    pub customer_id: Option<Value<String>>,
    pub description: Option<Value<String>>,
    pub enabled: Option<Value<bool>>,
    pub generate_distinct_id: Option<Value<bool>>,
    pub name: Option<Value<String>>,
    pub stage_keys: Option<ValueList<StageKey>>,
    pub tags: Option<ValueList<Tag>>,
    pub value: Option<Value<String>>,
}
Expand description

Properties for the ApiKey resource.

Fields§

§customer_id: Option<Value<String>>

Property CustomerId.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§description: Option<Value<String>>

Property Description.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§enabled: Option<Value<bool>>

Property Enabled.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§generate_distinct_id: Option<Value<bool>>

Property GenerateDistinctId.

Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.

§name: Option<Value<String>>

Property Name.

Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.

§stage_keys: Option<ValueList<StageKey>>

Property StageKeys.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§tags: Option<ValueList<Tag>>

Property Tags.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§value: Option<Value<String>>

Property Value.

Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.

Trait Implementations§

Source§

impl Debug for ApiKeyProperties

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ApiKeyProperties

Source§

fn default() -> ApiKeyProperties

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for ApiKeyProperties

Source§

fn deserialize<D: Deserializer<'de>>(d: D) -> Result<ApiKeyProperties, D::Error>

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<ApiKeyProperties> for ApiKey

Source§

fn from(properties: ApiKeyProperties) -> ApiKey

Converts to this type from the input type.
Source§

impl Serialize for ApiKeyProperties

Source§

fn serialize<S: Serializer>(&self, s: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,