AWSInfo Class Reference

Inherits from NSObject
Declared in AWSInfo.h
AWSInfo.m

Overview

The AWSInfo holds the configuration values for the various supported services.

+ defaultAWSInfo

The reference to the single AWSInfo object. This method loads the configuration from the awsconfiguration.json by default. For custom configuration object, see [AWSInfo configureDefaultAWSInfo].

+ (instancetype)defaultAWSInfo

Declared In

AWSInfo.h

+ configureDefaultAWSInfo:

This method allows the configuration as a NSDictionary as an alternative to the awsconfiguration.json file.

+ (void)configureDefaultAWSInfo:(NSDictionary<NSString*,id> *)config

Parameters

config

The dictionary containing the configuration

Discussion

Notes: This method must be called before defaultAWSInfo otherwise the configuration will be loaded from the JSON file. Once the configuration is set, it cannot be overridden and/or reloaded.

Declared In

AWSInfo.h