Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Member = Member' {
- status :: Maybe MemberStatus
- kmsKeyArn :: Maybe Text
- logPublishingConfiguration :: Maybe MemberLogPublishingConfiguration
- arn :: Maybe Text
- networkId :: Maybe Text
- name :: Maybe Text
- id :: Maybe Text
- creationDate :: Maybe POSIX
- frameworkAttributes :: Maybe MemberFrameworkAttributes
- description :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- newMember :: Member
- member_status :: Lens' Member (Maybe MemberStatus)
- member_kmsKeyArn :: Lens' Member (Maybe Text)
- member_logPublishingConfiguration :: Lens' Member (Maybe MemberLogPublishingConfiguration)
- member_arn :: Lens' Member (Maybe Text)
- member_networkId :: Lens' Member (Maybe Text)
- member_name :: Lens' Member (Maybe Text)
- member_id :: Lens' Member (Maybe Text)
- member_creationDate :: Lens' Member (Maybe UTCTime)
- member_frameworkAttributes :: Lens' Member (Maybe MemberFrameworkAttributes)
- member_description :: Lens' Member (Maybe Text)
- member_tags :: Lens' Member (Maybe (HashMap Text Text))
Documentation
Member configuration properties.
Applies only to Hyperledger Fabric.
See: newMember
smart constructor.
Member' | |
|
Instances
Create a value of Member
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:Member'
, member_status
- The status of a member.
CREATING
- The AWS account is in the process of creating a member.AVAILABLE
- The member has been created and can participate in the network.CREATE_FAILED
- The AWS account attempted to create a member and creation failed.UPDATING
- The member is in the process of being updated.DELETING
- The member and all associated resources are in the process of being deleted. Either the AWS account that owns the member deleted it, or the member is being deleted as the result of anAPPROVED
PROPOSAL
to remove the member.DELETED
- The member can no longer participate on the network and all associated resources are deleted. Either the AWS account that owns the member deleted it, or the member is being deleted as the result of anAPPROVED
PROPOSAL
to remove the member.INACCESSIBLE_ENCRYPTION_KEY
- The member is impaired and might not function as expected because it cannot access the specified customer managed key in AWS KMS for encryption at rest. Either the KMS key was disabled or deleted, or the grants on the key were revoked.The effect of disabling or deleting a key, or revoking a grant is not immediate. The member resource might take some time to find that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.
$sel:kmsKeyArn:Member'
, member_kmsKeyArn
- The Amazon Resource Name (ARN) of the customer managed key in AWS Key
Management Service (AWS KMS) that the member uses for encryption at
rest. If the value of this parameter is "AWS Owned KMS Key"
, the
member uses an AWS owned KMS key for encryption. This parameter is
inherited by the nodes that this member owns.
$sel:logPublishingConfiguration:Member'
, member_logPublishingConfiguration
- Configuration properties for logging events associated with a member.
$sel:arn:Member'
, member_arn
- The Amazon Resource Name (ARN) of the member. For more information about
ARNs and their format, see
Amazon Resource Names (ARNs)
in the AWS General Reference.
$sel:networkId:Member'
, member_networkId
- The unique identifier of the network to which the member belongs.
$sel:name:Member'
, member_name
- The name of the member.
$sel:id:Member'
, member_id
- The unique identifier of the member.
$sel:creationDate:Member'
, member_creationDate
- The date and time that the member was created.
$sel:frameworkAttributes:Member'
, member_frameworkAttributes
- Attributes relevant to a member for the blockchain framework that the
Managed Blockchain network uses.
$sel:description:Member'
, member_description
- An optional description for the member.
$sel:tags:Member'
, member_tags
- 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.
member_status :: Lens' Member (Maybe MemberStatus) Source #
The status of a member.
CREATING
- The AWS account is in the process of creating a member.AVAILABLE
- The member has been created and can participate in the network.CREATE_FAILED
- The AWS account attempted to create a member and creation failed.UPDATING
- The member is in the process of being updated.DELETING
- The member and all associated resources are in the process of being deleted. Either the AWS account that owns the member deleted it, or the member is being deleted as the result of anAPPROVED
PROPOSAL
to remove the member.DELETED
- The member can no longer participate on the network and all associated resources are deleted. Either the AWS account that owns the member deleted it, or the member is being deleted as the result of anAPPROVED
PROPOSAL
to remove the member.INACCESSIBLE_ENCRYPTION_KEY
- The member is impaired and might not function as expected because it cannot access the specified customer managed key in AWS KMS for encryption at rest. Either the KMS key was disabled or deleted, or the grants on the key were revoked.The effect of disabling or deleting a key, or revoking a grant is not immediate. The member resource might take some time to find that the key is inaccessible. When a resource is in this state, we recommend deleting and recreating the resource.
member_kmsKeyArn :: Lens' Member (Maybe Text) Source #
The Amazon Resource Name (ARN) of the customer managed key in AWS Key
Management Service (AWS KMS) that the member uses for encryption at
rest. If the value of this parameter is "AWS Owned KMS Key"
, the
member uses an AWS owned KMS key for encryption. This parameter is
inherited by the nodes that this member owns.
member_logPublishingConfiguration :: Lens' Member (Maybe MemberLogPublishingConfiguration) Source #
Configuration properties for logging events associated with a member.
member_arn :: Lens' Member (Maybe Text) Source #
The Amazon Resource Name (ARN) of the member. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the AWS General Reference.
member_networkId :: Lens' Member (Maybe Text) Source #
The unique identifier of the network to which the member belongs.
member_creationDate :: Lens' Member (Maybe UTCTime) Source #
The date and time that the member was created.
member_frameworkAttributes :: Lens' Member (Maybe MemberFrameworkAttributes) Source #
Attributes relevant to a member for the blockchain framework that the Managed Blockchain network uses.
member_tags :: Lens' Member (Maybe (HashMap Text Text)) Source #
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.