# PushSyncProperty

`PushSync` is a property of the [AWS::Cognito::IdentityPool](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypool.html) resource that defines the configuration options to be applied to an Amazon Cognito identity pool.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cognito as cognito } from 'aws-cdk-lib';
const pushSyncProperty: cognito.CfnIdentityPool.PushSyncProperty = {
  applicationArns: ['applicationArns'],
  roleArn: 'roleArn',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cognito as cognito

push_sync_property = cognito.CfnIdentityPool.PushSyncProperty(
    application_arns=["applicationArns"],
    role_arn="roleArn"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cognito.*;

PushSyncProperty pushSyncProperty = PushSyncProperty.builder()
        .applicationArns(List.of("applicationArns"))
        .roleArn("roleArn")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cognito;

var pushSyncProperty = new PushSyncProperty {
    ApplicationArns = new [] { "applicationArns" },
    RoleArn = "roleArn"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

pushSyncProperty := &PushSyncProperty{
	ApplicationArns: []*string{
		jsii.String("applicationArns"),
	},
	RoleArn: jsii.String("roleArn"),
}
```

## Properties

- `applicationArns`: string[] — The ARNs of the Amazon SNS platform applications that could be used by clients.

- `roleArn`: string — An IAM role configured to allow Amazon Cognito to call Amazon SNS on behalf of the developer.
