Skip to content

Instantly share code, notes, and snippets.

@Thunderbird7
Created February 3, 2016 17:19
Show Gist options
  • Save Thunderbird7/a6c878daf681a97c73e9 to your computer and use it in GitHub Desktop.
Save Thunderbird7/a6c878daf681a97c73e9 to your computer and use it in GitHub Desktop.
// AWS SNS Config
// Credential
AWSStaticCredentialsProvider *credential = [[AWSStaticCredentialsProvider alloc] initWithAccessKey:@"YOUR_AMAZON_ACCESSKEY"
secretKey:@"YOUR_AMAZON_SECERT"];
// Config region
AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionAPSoutheast1
credentialsProvider:credential];
[AWSServiceManager defaultServiceManager].defaultServiceConfiguration = configuration;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment