AWS SDK for .NET Documentation
AmazonCloudFrontClient Constructor
AmazonAmazon.CloudFront_2012_03_15AmazonCloudFrontClientAmazonCloudFrontClient()()()() Did this page help you?   Yes   No    Tell us about it...
Members
IconMemberDescription
AmazonCloudFrontClient()()()()
Constructs AmazonCloudFrontClient 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.
CopyC#
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSAccessKey" value="********************"/>
        <add key="AWSSecretKey" value="****************************************"/>
    </appSettings>
</configuration>

AmazonCloudFrontClient(AmazonCloudFrontConfig)
Constructs AmazonCloudFrontClient 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.
CopyC#
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSAccessKey" value="********************"/>
        <add key="AWSSecretKey" value="****************************************"/>
    </appSettings>
</configuration>

AmazonCloudFrontClient(String, String)
Constructs AmazonCloudFrontClient with AWS Access Key ID and AWS Secret Key

AmazonCloudFrontClient(String, String, AmazonCloudFrontConfig)
Constructs AmazonCloudFrontClient with AWS Access Key ID, AWS Secret Key and an AmazonCloudFront Configuration object. If the config object's UseSecureStringForAwsSecretKey is false, the AWS Secret Key is stored as a clear-text string. Please use this option only if the application environment doesn't allow the use of SecureStrings.

AmazonCloudFrontClient(String, SecureString, AmazonCloudFrontConfig)
Constructs an AmazonCloudFrontClient with AWS Access Key ID, AWS Secret Key and an Amazon CloudFront Configuration object

AmazonCloudFrontClient(AWSCredentials)
Constructs an AmazonCloudFrontClient with AWSCredentials

AmazonCloudFrontClient(AWSCredentials, AmazonCloudFrontConfig)
Constructs an AmazonCloudFrontClient with AWSCredentials and an AmazonCloudFront Configuration object

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)