VpcConfiguration.fromJson constructor

VpcConfiguration.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory VpcConfiguration.fromJson(Map<String, dynamic> json) {
  return VpcConfiguration(
    securityGroupIds: (json['SecurityGroupIds'] as List)
        .whereNotNull()
        .map((e) => e as String)
        .toList(),
    subnetIds: (json['SubnetIds'] as List)
        .whereNotNull()
        .map((e) => e as String)
        .toList(),
    vpcId: json['VpcId'] as String,
    tlsCertificate: json['TlsCertificate'] as String?,
  );
}