Skip to content
v2.278.0

PushSyncProperty Struct ​

PushSync is a property of the AWS::Cognito::IdentityPool resource that defines the configuration options to be applied to an Amazon Cognito identity pool.

Example ​

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
# 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
// 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();
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"
};
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 ​

applicationArnsoptionalstring[]application_arnsoptionaltyping.List[str]applicationArnsoptionalList<String>ApplicationArnsoptionalstring[]ApplicationArnsoptional*[]*string #
The ARNs of the Amazon SNS platform applications that could be used by clients.
roleArnoptionalstringrole_arnoptionalstrroleArnoptionalStringRoleArnoptionalstringRoleArnoptional*string #
An IAM role configured to allow Amazon Cognito to call Amazon SNS on behalf of the developer.