Struct aws_sdk_config::types::ResourceDetails
source · #[non_exhaustive]pub struct ResourceDetails {
pub resource_id: String,
pub resource_type: String,
pub resource_configuration: String,
pub resource_configuration_schema_type: Option<ResourceConfigurationSchemaType>,
}Expand description
Returns information about the resource being evaluated.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.resource_id: StringA unique resource ID for an evaluation.
resource_type: StringThe type of resource being evaluated.
resource_configuration: StringThe resource definition to be evaluated as per the resource configuration schema type.
resource_configuration_schema_type: Option<ResourceConfigurationSchemaType>The schema type of the resource configuration.
You can find the Resource type schema, or CFN_RESOURCE_SCHEMA, in "Amazon Web Services public extensions" within the CloudFormation registry or with the following CLI commmand: aws cloudformation describe-type --type-name "AWS::S3::Bucket" --type RESOURCE.
For more information, see Managing extensions through the CloudFormation registry and Amazon Web Services resource and property types reference in the CloudFormation User Guide.
Implementations§
source§impl ResourceDetails
impl ResourceDetails
sourcepub fn resource_id(&self) -> &str
pub fn resource_id(&self) -> &str
A unique resource ID for an evaluation.
sourcepub fn resource_type(&self) -> &str
pub fn resource_type(&self) -> &str
The type of resource being evaluated.
sourcepub fn resource_configuration(&self) -> &str
pub fn resource_configuration(&self) -> &str
The resource definition to be evaluated as per the resource configuration schema type.
sourcepub fn resource_configuration_schema_type(
&self
) -> Option<&ResourceConfigurationSchemaType>
pub fn resource_configuration_schema_type( &self ) -> Option<&ResourceConfigurationSchemaType>
The schema type of the resource configuration.
You can find the Resource type schema, or CFN_RESOURCE_SCHEMA, in "Amazon Web Services public extensions" within the CloudFormation registry or with the following CLI commmand: aws cloudformation describe-type --type-name "AWS::S3::Bucket" --type RESOURCE.
For more information, see Managing extensions through the CloudFormation registry and Amazon Web Services resource and property types reference in the CloudFormation User Guide.
source§impl ResourceDetails
impl ResourceDetails
sourcepub fn builder() -> ResourceDetailsBuilder
pub fn builder() -> ResourceDetailsBuilder
Creates a new builder-style object to manufacture ResourceDetails.
Trait Implementations§
source§impl Clone for ResourceDetails
impl Clone for ResourceDetails
source§fn clone(&self) -> ResourceDetails
fn clone(&self) -> ResourceDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ResourceDetails
impl Debug for ResourceDetails
source§impl PartialEq for ResourceDetails
impl PartialEq for ResourceDetails
source§fn eq(&self, other: &ResourceDetails) -> bool
fn eq(&self, other: &ResourceDetails) -> bool
self and other values to be equal, and is used
by ==.