Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ManagedKeyTargetInfo" /> class.
 /// </summary>
 /// <param name="externalKmsId">externalKmsId.</param>
 /// <param name="keyPurpose">keyPurpose.</param>
 /// <param name="keyStatuses">keyStatuses.</param>
 /// <param name="targetAssocId">targetAssocId.</param>
 public ManagedKeyTargetInfo(ExternalKMSKeyId externalKmsId = default(ExternalKMSKeyId), List <string> keyPurpose = default(List <string>), List <ManagedKeyStatusInfo> keyStatuses = default(List <ManagedKeyStatusInfo>), string targetAssocId = default(string))
 {
     this.ExternalKmsId = externalKmsId;
     this.KeyPurpose    = keyPurpose;
     this.KeyStatuses   = keyStatuses;
     this.TargetAssocId = targetAssocId;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ClassicKeyTargetInfo" /> class.
 /// </summary>
 /// <param name="externalKmsId">externalKmsId.</param>
 /// <param name="keyPurpose">keyPurpose.</param>
 /// <param name="keyStatus">keyStatus.</param>
 /// <param name="targetAssocId">targetAssocId.</param>
 /// <param name="targetType">targetType.</param>
 public ClassicKeyTargetInfo(ExternalKMSKeyId externalKmsId = default(ExternalKMSKeyId), List <string> keyPurpose = default(List <string>), ClassicKeyStatusInfo keyStatus = default(ClassicKeyStatusInfo), string targetAssocId = default(string), string targetType = default(string))
 {
     this.ExternalKmsId = externalKmsId;
     this.KeyPurpose    = keyPurpose;
     this.KeyStatus     = keyStatus;
     this.TargetAssocId = targetAssocId;
     this.TargetType    = targetType;
 }