Struct cfn::aws::lambda::PermissionProperties
[−]
[src]
pub struct PermissionProperties { pub action: Value<String>, pub event_source_token: Option<Value<String>>, pub function_name: Value<String>, pub principal: Value<String>, pub source_account: Option<Value<String>>, pub source_arn: Option<Value<String>>, }
Properties for the Permission
resource.
Fields
action: Value<String>
Property Action
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
event_source_token: Option<Value<String>>
Property EventSourceToken
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
function_name: Value<String>
Property FunctionName
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
principal: Value<String>
Property Principal
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
source_account: Option<Value<String>>
Property SourceAccount
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
source_arn: Option<Value<String>>
Property SourceArn
.
Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.
Trait Implementations
impl Debug for PermissionProperties
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Serialize for PermissionProperties
[src]
fn serialize<S: Serializer>(&self, s: S) -> Result<S::Ok, S::Error>
[src]
Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for PermissionProperties
[src]
fn deserialize<D: Deserializer<'de>>(
d: D
) -> Result<PermissionProperties, D::Error>
[src]
d: D
) -> Result<PermissionProperties, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl From<PermissionProperties> for Permission
[src]
fn from(properties: PermissionProperties) -> Permission
[src]
Performs the conversion.