toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'accessKey': ?accessKey,
    'allowedAccountIds': ?allowedAccountIds,
    'assumeRoleWithWebIdentity': ?pulumi.Input.mapOptionalInputValue<ProviderAssumeRoleWithWebIdentity, Map<String, dynamic>>(assumeRoleWithWebIdentity, (value) => value.toMap()),
    'assumeRoles': ?pulumi.Input.mapOptionalInputValue<List<ProviderAssumeRole>, List<Map<String, dynamic>>>(assumeRoles, (value) => pulumi.Input.encodeList<ProviderAssumeRole, Map<String, dynamic>>(value, (value) => value.toMap())),
    'customCaBundle': ?customCaBundle,
    'defaultTags': ?pulumi.Input.mapOptionalInputValue<ProviderDefaultTags, Map<String, dynamic>>(defaultTags, (value) => value.toMap()),
    'ec2MetadataServiceEndpoint': ?ec2MetadataServiceEndpoint,
    'ec2MetadataServiceEndpointMode': ?ec2MetadataServiceEndpointMode,
    'endpoints': ?pulumi.Input.mapOptionalInputValue<List<ProviderEndpoint>, List<Map<String, dynamic>>>(endpoints, (value) => pulumi.Input.encodeList<ProviderEndpoint, Map<String, dynamic>>(value, (value) => value.toMap())),
    'forbiddenAccountIds': ?forbiddenAccountIds,
    'httpProxy': ?httpProxy,
    'httpsProxy': ?httpsProxy,
    'ignoreTags': ?pulumi.Input.mapOptionalInputValue<ProviderIgnoreTags, Map<String, dynamic>>(ignoreTags, (value) => value.toMap()),
    'insecure': ?insecure,
    'maxRetries': ?maxRetries,
    'noProxy': ?noProxy,
    'profile': ?profile,
    'region': ?region,
    'retryMode': ?retryMode,
    's3UsEast1RegionalEndpoint': ?s3UsEast1RegionalEndpoint,
    's3UsePathStyle': ?s3UsePathStyle,
    'secretKey': ?secretKey,
    'sharedConfigFiles': ?sharedConfigFiles,
    'sharedCredentialsFiles': ?sharedCredentialsFiles,
    'skipCredentialsValidation': ?skipCredentialsValidation,
    'skipMetadataApiCheck': ?skipMetadataApiCheck,
    'skipRegionValidation': ?skipRegionValidation,
    'skipRequestingAccountId': ?skipRequestingAccountId,
    'stsRegion': ?stsRegion,
    'tagPolicyCompliance': ?tagPolicyCompliance,
    'token': ?token,
    'tokenBucketRateLimiterCapacity': ?tokenBucketRateLimiterCapacity,
    'useDualstackEndpoint': ?useDualstackEndpoint,
    'useFipsEndpoint': ?useFipsEndpoint,
    'userAgents': ?userAgents,
  };
}