toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'arn': ?arn,
'awsAccountId': ?awsAccountId,
'cloudHsmClusterId': ?cloudHsmClusterId,
'creationDate': ?creationDate,
'customKeyStoreId': ?customKeyStoreId,
'customerMasterKeySpec': ?customerMasterKeySpec,
'deletionDate': ?deletionDate,
'description': ?description,
'enabled': ?enabled,
'expirationModel': ?expirationModel,
'grantTokens': ?grantTokens,
'id': ?id,
'keyId': ?keyId,
'keyManager': ?keyManager,
'keySpec': ?keySpec,
'keyState': ?keyState,
'keyUsage': ?keyUsage,
'multiRegion': ?multiRegion,
'multiRegionConfigurations': ?(() { final guardedValue = multiRegionConfigurations; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetKeyMultiRegionConfiguration, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
'origin': ?origin,
'pendingDeletionWindowInDays': ?pendingDeletionWindowInDays,
'region': ?region,
'validTo': ?validTo,
'xksKeyConfigurations': ?(() { final guardedValue = xksKeyConfigurations; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetKeyXksKeyConfiguration, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
};
}