#[non_exhaustive]pub struct MemberConfiguration {
pub name: Option<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: Option<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. For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
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.
kms_key_arn: Option<String>The Amazon Resource Name (ARN) of the customer managed key in AWS Key Management Service (AWS KMS) to use for encryption at rest in the member. This parameter is inherited by any nodes that this member creates.
Use one of the following options to specify this parameter:
-
Undefined or empty string - The member uses an AWS owned KMS key for encryption by default.
-
A valid symmetric customer managed KMS key - The member uses the specified key for encryption.
Amazon Managed Blockchain doesn't support asymmetric keys. For more information, see Using symmetric and asymmetric keys in the AWS 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
sourceimpl 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. For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
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.
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 AWS Key Management Service (AWS KMS) to use for encryption at rest in the member. This parameter is inherited by any nodes that this member creates.
Use one of the following options to specify this parameter:
-
Undefined or empty string - The member uses an AWS owned KMS key for encryption by default.
-
A valid symmetric customer managed KMS key - The member uses the specified key for encryption.
Amazon Managed Blockchain doesn't support asymmetric keys. For more information, see Using symmetric and asymmetric keys in the AWS 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
sourceimpl MemberConfiguration
impl MemberConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture MemberConfiguration.
Trait Implementations
sourceimpl Clone for MemberConfiguration
impl Clone for MemberConfiguration
sourcefn clone(&self) -> MemberConfiguration
fn clone(&self) -> MemberConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for MemberConfiguration
impl Debug for MemberConfiguration
sourceimpl PartialEq<MemberConfiguration> for MemberConfiguration
impl PartialEq<MemberConfiguration> for MemberConfiguration
sourcefn eq(&self, other: &MemberConfiguration) -> bool
fn eq(&self, other: &MemberConfiguration) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &MemberConfiguration) -> bool
fn ne(&self, other: &MemberConfiguration) -> bool
This method tests for !=.
impl StructuralPartialEq for MemberConfiguration
Auto Trait Implementations
impl RefUnwindSafe for MemberConfiguration
impl Send for MemberConfiguration
impl Sync for MemberConfiguration
impl Unpin for MemberConfiguration
impl UnwindSafe for MemberConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more