Amazon.Shield.AmazonShieldClient.AmazonShieldClient C# (CSharp) Method

AmazonShieldClient() public method

Constructs AmazonShieldClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>
public AmazonShieldClient ( AmazonShieldConfig config ) : System
config AmazonShieldConfig The AmazonShieldClient Configuration Object
return System
        public AmazonShieldClient(AmazonShieldConfig config)
            : base(FallbackCredentialsFactory.GetCredentials(), config) { }

Same methods

AmazonShieldClient::AmazonShieldClient ( ) : System
AmazonShieldClient::AmazonShieldClient ( AWSCredentials credentials ) : System
AmazonShieldClient::AmazonShieldClient ( AWSCredentials credentials, AmazonShieldConfig clientConfig ) : System
AmazonShieldClient::AmazonShieldClient ( AWSCredentials credentials, RegionEndpoint region ) : System
AmazonShieldClient::AmazonShieldClient ( RegionEndpoint region ) : System
AmazonShieldClient::AmazonShieldClient ( string awsAccessKeyId, string awsSecretAccessKey ) : System
AmazonShieldClient::AmazonShieldClient ( string awsAccessKeyId, string awsSecretAccessKey, AmazonShieldConfig clientConfig ) : System
AmazonShieldClient::AmazonShieldClient ( string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region ) : System
AmazonShieldClient::AmazonShieldClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken ) : System
AmazonShieldClient::AmazonShieldClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonShieldConfig clientConfig ) : System
AmazonShieldClient::AmazonShieldClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region ) : System