- Policy policy = new Policy("MyQueuePolicy");
- policy.WithStatements(new Statement(Statement.StatementEffect.Allow)
- .WithPrincipals(new Principal("*")).WithActionIdentifiers(SQSActionIdentifiers.SendMessage)
- .WithResources(new Resource(myQueueArn))
- .WithConditions(ConditionFactory.NewSourceArnCondition(myTopicArn)));
-
-
- Policy policy = new Policy("MyTopicPolicy");
- policy.WithStatements(new Statement(Statement.StatementEffect.Allow)
- .WithPrincipals(new Principal("*")).WithActionIdentifiers(SNSActionIdentifiers.Subscribe)
- .WithResources(new Resource(myTopicArn))
- .WithConditions(ConditionFactory.NewEndpointCondition("*@my-company.com")));
-
-
- JsonUnmarshallerContext context = new JsonUnmarshallerContext(jsonString);
- while (context.Read())
- {
- if (context.IsKey)
- {
- if (context.TestExpresion("path/to/element"))
- {
- myObject.stringMember = stringUnmarshaller.GetInstance().Unmarshall(context);
- continue;
- }
- }
- }
-
-
- UnmarshallerContext context = new UnmarshallerContext(...);
- while (context.Read())
- {
- if (context.TestExpresion("path/to/element"))
- {
- myObject.stringMember = stringUnmarshaller.GetInstance().Unmarshall(context);
- continue;
- }
- if (context.TestExpression("path/to/@attribute"))
- myObject.MyComplexTypeMember = MyComplexTypeUnmarshaller.GetInstance().Unmarshall(context);
- }
-
-
- <?xml version="1.0" encoding="utf-8" ?>
- <configuration>
- <appSettings>
- <add key="AWSLogMetrics" value"true"/>
- </appSettings>
- </configuration>
-
- AssumeRole
- operation.
- 3600
seconds.
- DurationSeconds
parameter is separate from the duration of a console
- session that you might request using the returned credentials. The request to the
- federation endpoint for a console sign-in token takes a SessionDuration
- parameter that specifies the maximum length of the console session. For more information,
- see Creating
- a URL that Enables Federated Users to Access the AWS Management Console in the
- IAM User Guide.
- www.amazon.com
- and graph.facebook.com
are the only supported identity providers for
- OAuth 2.0 access tokens. Do not include URL schemes and port numbers.
- PackedPolicySize
- response element indicates by percentage how close the policy is to the upper size
- limit.
- PackedPolicySize
- response element indicates by percentage how close the policy is to the upper size
- limit.
- The STANDARD mode provides the latest recommended default values that should be safe to run in most scenarios
Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK
-The IN_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services from within the same AWS region
Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK
-The CROSS_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services in a different region
Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK
-The MOBILE mode builds on the standard mode and includes optimization tailored for mobile applications
Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK
-The AUTO mode is an experimental mode that builds on the standard mode. The SDK will attempt to discover the execution environment to determine the appropriate settings automatically.
Note that the auto detection is heuristics-based and does not guarantee 100% accuracy. STANDARD mode will be used if the execution environment cannot be determined. The auto detection might query EC2 Instance Metadata service, which might introduce latency. Therefore we recommend choosing an explicit defaults_mode instead if startup latency is critical to your application
-The LEGACY mode provides default settings that vary per SDK and were used prior to establishment of defaults_mode
-
-
-
- <?xml version="1.0" encoding="utf-8" ?>
- <configuration>
- <appSettings>
- <add key="AWSLogMetrics" value"true"/>
- </appSettings>
- </configuration>
-
-
- <?xml version="1.0" encoding="utf-8" ?>
- <configuration>
- <appSettings>
- <add key="AWSProfileName" value="development"/>
- </appSettings>
- </configuration>
-
-
- <configSections>
- <section name="aws" type="Amazon.AWSSection, AWSSDK.Core"/>
- </configSections>
- <aws region="us-west-2">
- <logging logTo="Log4Net, SystemDiagnostics" logResponses="Always" logMetrics="true" />
- <s3 useSignatureVersion4="true" />
- <proxy host="localhost" port="8888" username="1" password="1" />
-
- <dynamoDB>
- <dynamoDBContext tableNamePrefix="Prod-">
-
- <tableAliases>
- <alias fromTable="FakeTable" toTable="People" />
- <alias fromTable="Persons" toTable="People" />
- </tableAliases>
-
- <mappings>
- <map type="Sample.Tests.Author, SampleDLL" targetTable="People" />
- <map type="Sample.Tests.Editor, SampleDLL" targetTable="People">
- <property name="FullName" attribute="Name" />
- <property name="EmployeeId" attribute="Id" />
- <property name="ComplexData" converter="Sample.Tests.ComplexDataConverter, SampleDLL" />
- <property name="Version" version="true" />
- <property name="Password" ignore="true" />
- </map>
- </mappings>
-
- </dynamoDBContext>
- </dynamoDB>
- </aws>
-
-
- <configSections>
- <section name="aws" type="Amazon.AWSSection, AWSSDK"/>
- </configSections>
- <aws region="us-west-2" />
-
-
- <?xml version="1.0" encoding="utf-8" ?>
- <configuration>
- <appSettings>
- <add key="AWSProfileName" value="development"/>
- </appSettings>
- </configuration>
-
-
- <?xml version="1.0" encoding="utf-8" ?>
- <configuration>
- <appSettings>
- <add key="AWSProfilesLocation" value="c:\config"/>
- </appSettings>
- </configuration>
-
-
- <appSettings>
- <add key="AWSLogging" value="log4net"/>
- </appSettings>
-
-
- <appSettings>
- <add key="AWSResponseLogging" value="OnError"/>
- </appSettings>
-
-
- <appSettings>
- <add key="AWSLogMetrics" value="true"/>
- </appSettings>
-
-
- <configSections>
- <section name="aws" type="Amazon.AWSSection, AWSSDK"/>
- </configSections>
- <aws endpointDefinition="c:\config\endpoints.json" />
-
-
- <configSections>
- <section name="aws" type="Amazon.AWSSection, AWSSDK"/>
- </configSections>
- <aws useSdkCache="true" />
-
-
- <configSections>
- <section name="aws" type="Amazon.AWSSection, AWSSDK"/>
- </configSections>
- <aws>
- <logging logTo="Log4Net, SystemDiagnostics" logResponses="Always" logMetrics="true" />
- </aws>
-
-
- <configSections>
- <section name="aws" type="Amazon.AWSSection, AWSSDK"/>
- </configSections>
- <aws>
- <proxy host="localhost" port="8888" username="1" password="1" bypassList="addressexpr1;addressexpr2;..." bypassOnLocal="true" />
- </aws>
-
-
- <configSections>
- <section name="aws" type="Amazon.AWSSection, AWSSDK"/>
- </configSections>
- <aws region="us-west-2" />
-
-