pub struct AwsPlatformPermission {
pub binding: BindingConfigurationAwsBindingSpec,
pub grant: PermissionGrant,
}Expand description
AWS-specific platform permission configuration
JSON schema
{
"description": "AWS-specific platform permission configuration",
"type": "object",
"required": [
"binding",
"grant"
],
"properties": {
"binding": {
"description": "How to bind the permissions (stack vs resource scope)",
"allOf": [
{
"$ref": "#/components/schemas/BindingConfiguration_AwsBindingSpec"
}
]
},
"grant": {
"description": "What permissions to grant",
"allOf": [
{
"$ref": "#/components/schemas/PermissionGrant"
}
]
}
},
"additionalProperties": false
}Fields§
§binding: BindingConfigurationAwsBindingSpecHow to bind the permissions (stack vs resource scope)
grant: PermissionGrantWhat permissions to grant
Implementations§
Source§impl AwsPlatformPermission
impl AwsPlatformPermission
pub fn builder() -> AwsPlatformPermission
Trait Implementations§
Source§impl Clone for AwsPlatformPermission
impl Clone for AwsPlatformPermission
Source§fn clone(&self) -> AwsPlatformPermission
fn clone(&self) -> AwsPlatformPermission
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AwsPlatformPermission
impl Debug for AwsPlatformPermission
Source§impl<'de> Deserialize<'de> for AwsPlatformPermission
impl<'de> Deserialize<'de> for AwsPlatformPermission
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&AwsPlatformPermission> for AwsPlatformPermission
impl From<&AwsPlatformPermission> for AwsPlatformPermission
Source§fn from(value: &AwsPlatformPermission) -> Self
fn from(value: &AwsPlatformPermission) -> Self
Converts to this type from the input type.
Source§impl From<AwsPlatformPermission> for AwsPlatformPermission
impl From<AwsPlatformPermission> for AwsPlatformPermission
Source§fn from(value: AwsPlatformPermission) -> Self
fn from(value: AwsPlatformPermission) -> Self
Converts to this type from the input type.
Source§impl Serialize for AwsPlatformPermission
impl Serialize for AwsPlatformPermission
Source§impl TryFrom<AwsPlatformPermission> for AwsPlatformPermission
impl TryFrom<AwsPlatformPermission> for AwsPlatformPermission
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: AwsPlatformPermission) -> Result<Self, ConversionError>
fn try_from(value: AwsPlatformPermission) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AwsPlatformPermission
impl RefUnwindSafe for AwsPlatformPermission
impl Send for AwsPlatformPermission
impl Sync for AwsPlatformPermission
impl Unpin for AwsPlatformPermission
impl UnsafeUnpin for AwsPlatformPermission
impl UnwindSafe for AwsPlatformPermission
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more