1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
import (
smithydocument "github.com/aws/smithy-go/document"
"time"
)
// Contains information about a backup of an AWS CloudHSM cluster. All backup
// objects contain the BackupId , BackupState , ClusterId , and CreateTimestamp
// parameters. Backups that were copied into a destination region additionally
// contain the CopyTimestamp , SourceBackup , SourceCluster , and SourceRegion
// parameters. A backup that is pending deletion will include the DeleteTimestamp
// parameter.
type Backup struct {
// The identifier (ID) of the backup.
//
// This member is required.
BackupId *string
// The state of the backup.
BackupState BackupState
// The identifier (ID) of the cluster that was backed up.
ClusterId *string
// The date and time when the backup was copied from a source backup.
CopyTimestamp *time.Time
// The date and time when the backup was created.
CreateTimestamp *time.Time
// The date and time when the backup will be permanently deleted.
DeleteTimestamp *time.Time
// Specifies whether the service should exempt a backup from the retention policy
// for the cluster. True exempts a backup from the retention policy. False means
// the service applies the backup retention policy defined at the cluster.
NeverExpires *bool
// The identifier (ID) of the source backup from which the new backup was copied.
SourceBackup *string
// The identifier (ID) of the cluster containing the source backup from which the
// new backup was copied.
SourceCluster *string
// The AWS Region that contains the source backup from which the new backup was
// copied.
SourceRegion *string
// The list of tags for the backup.
TagList []Tag
noSmithyDocumentSerde
}
// A policy that defines the number of days to retain backups.
type BackupRetentionPolicy struct {
// The type of backup retention policy. For the DAYS type, the value is the number
// of days to retain backups.
Type BackupRetentionType
// Use a value between 7 - 379.
Value *string
noSmithyDocumentSerde
}
// Contains one or more certificates or a certificate signing request (CSR).
type Certificates struct {
// The HSM hardware certificate issued (signed) by AWS CloudHSM.
AwsHardwareCertificate *string
// The cluster certificate issued (signed) by the issuing certificate authority
// (CA) of the cluster's owner.
ClusterCertificate *string
// The cluster's certificate signing request (CSR). The CSR exists only when the
// cluster's state is UNINITIALIZED .
ClusterCsr *string
// The HSM certificate issued (signed) by the HSM hardware.
HsmCertificate *string
// The HSM hardware certificate issued (signed) by the hardware manufacturer.
ManufacturerHardwareCertificate *string
noSmithyDocumentSerde
}
// Contains information about an AWS CloudHSM cluster.
type Cluster struct {
// The cluster's backup policy.
BackupPolicy BackupPolicy
// A policy that defines how the service retains backups.
BackupRetentionPolicy *BackupRetentionPolicy
// Contains one or more certificates or a certificate signing request (CSR).
Certificates *Certificates
// The cluster's identifier (ID).
ClusterId *string
// The date and time when the cluster was created.
CreateTimestamp *time.Time
// The type of HSM that the cluster contains.
HsmType *string
// Contains information about the HSMs in the cluster.
Hsms []Hsm
// The default password for the cluster's Pre-Crypto Officer (PRECO) user.
PreCoPassword *string
// The identifier (ID) of the cluster's security group.
SecurityGroup *string
// The identifier (ID) of the backup used to create the cluster. This value exists
// only when the cluster was created from a backup.
SourceBackupId *string
// The cluster's state.
State ClusterState
// A description of the cluster's state.
StateMessage *string
// A map from availability zone to the cluster’s subnet in that availability zone.
SubnetMapping map[string]string
// The list of tags for the cluster.
TagList []Tag
// The identifier (ID) of the virtual private cloud (VPC) that contains the
// cluster.
VpcId *string
noSmithyDocumentSerde
}
// Contains information about the backup that will be copied and created by the
// CopyBackupToRegion operation.
type DestinationBackup struct {
// The date and time when both the source backup was created.
CreateTimestamp *time.Time
// The identifier (ID) of the source backup from which the new backup was copied.
SourceBackup *string
// The identifier (ID) of the cluster containing the source backup from which the
// new backup was copied.
SourceCluster *string
// The AWS region that contains the source backup from which the new backup was
// copied.
SourceRegion *string
noSmithyDocumentSerde
}
// Contains information about a hardware security module (HSM) in an AWS CloudHSM
// cluster.
type Hsm struct {
// The HSM's identifier (ID).
//
// This member is required.
HsmId *string
// The Availability Zone that contains the HSM.
AvailabilityZone *string
// The identifier (ID) of the cluster that contains the HSM.
ClusterId *string
// The identifier (ID) of the HSM's elastic network interface (ENI).
EniId *string
// The IP address of the HSM's elastic network interface (ENI).
EniIp *string
// The HSM's state.
State HsmState
// A description of the HSM's state.
StateMessage *string
// The subnet that contains the HSM's elastic network interface (ENI).
SubnetId *string
noSmithyDocumentSerde
}
// Contains a tag. A tag is a key-value pair.
type Tag struct {
// The key of the tag.
//
// This member is required.
Key *string
// The value of the tag.
//
// This member is required.
Value *string
noSmithyDocumentSerde
}
type noSmithyDocumentSerde = smithydocument.NoSerde
|