#[non_exhaustive]pub struct MemberConfiguration {
pub name: String,
pub description: Option<String>,
pub framework_configuration: Option<MemberFrameworkConfiguration>,
pub log_publishing_configuration: Option<MemberLogPublishingConfiguration>,
pub tags: Option<HashMap<String, String>>,
pub kms_key_arn: Option<String>,
}
Expand description
Configuration properties of the member.
Applies only to Hyperledger Fabric.
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.name: String
The name of the member.
description: Option<String>
An optional description of the member.
framework_configuration: Option<MemberFrameworkConfiguration>
Configuration properties of the blockchain framework relevant to the member.
log_publishing_configuration: Option<MemberLogPublishingConfiguration>
Configuration properties for logging events associated with a member of a Managed Blockchain network.
Tags assigned to the member. Tags consist of a key and optional value.
When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
kms_key_arn: Option<String>
The Amazon Resource Name (ARN) of the customer managed key in Key Management Service (KMS) to use for encryption at rest in the member. This parameter is inherited by any nodes that this member creates. For more information, see Encryption at Rest in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
Use one of the following options to specify this parameter:
-
Undefined or empty string - By default, use an KMS key that is owned and managed by Amazon Web Services on your behalf.
-
A valid symmetric customer managed KMS key - Use the specified KMS key in your account that you create, own, and manage.
Amazon Managed Blockchain doesn't support asymmetric keys. For more information, see Using symmetric and asymmetric keys in the Key Management Service Developer Guide.
The following is an example of a KMS key ARN:
arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
Implementations§
source§impl MemberConfiguration
impl MemberConfiguration
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
An optional description of the member.
sourcepub fn framework_configuration(&self) -> Option<&MemberFrameworkConfiguration>
pub fn framework_configuration(&self) -> Option<&MemberFrameworkConfiguration>
Configuration properties of the blockchain framework relevant to the member.
sourcepub fn log_publishing_configuration(
&self
) -> Option<&MemberLogPublishingConfiguration>
pub fn log_publishing_configuration( &self ) -> Option<&MemberLogPublishingConfiguration>
Configuration properties for logging events associated with a member of a Managed Blockchain network.
Tags assigned to the member. Tags consist of a key and optional value.
When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
sourcepub fn kms_key_arn(&self) -> Option<&str>
pub fn kms_key_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the customer managed key in Key Management Service (KMS) to use for encryption at rest in the member. This parameter is inherited by any nodes that this member creates. For more information, see Encryption at Rest in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
Use one of the following options to specify this parameter:
-
Undefined or empty string - By default, use an KMS key that is owned and managed by Amazon Web Services on your behalf.
-
A valid symmetric customer managed KMS key - Use the specified KMS key in your account that you create, own, and manage.
Amazon Managed Blockchain doesn't support asymmetric keys. For more information, see Using symmetric and asymmetric keys in the Key Management Service Developer Guide.
The following is an example of a KMS key ARN:
arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
source§impl MemberConfiguration
impl MemberConfiguration
sourcepub fn builder() -> MemberConfigurationBuilder
pub fn builder() -> MemberConfigurationBuilder
Creates a new builder-style object to manufacture MemberConfiguration
.
Trait Implementations§
source§impl Clone for MemberConfiguration
impl Clone for MemberConfiguration
source§fn clone(&self) -> MemberConfiguration
fn clone(&self) -> MemberConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MemberConfiguration
impl Debug for MemberConfiguration
source§impl PartialEq for MemberConfiguration
impl PartialEq for MemberConfiguration
source§fn eq(&self, other: &MemberConfiguration) -> bool
fn eq(&self, other: &MemberConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MemberConfiguration
Auto Trait Implementations§
impl Freeze for MemberConfiguration
impl RefUnwindSafe for MemberConfiguration
impl Send for MemberConfiguration
impl Sync for MemberConfiguration
impl Unpin for MemberConfiguration
impl UnwindSafe for MemberConfiguration
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more