toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final enableInterContainerTrafficEncryption =
      this.enableInterContainerTrafficEncryption;
  final volumeKmsKeyId = this.volumeKmsKeyId;
  final vpcConfig = this.vpcConfig;
  return {
    if (enableInterContainerTrafficEncryption != null)
      'EnableInterContainerTrafficEncryption':
          enableInterContainerTrafficEncryption,
    if (volumeKmsKeyId != null) 'VolumeKmsKeyId': volumeKmsKeyId,
    if (vpcConfig != null) 'VpcConfig': vpcConfig,
  };
}