Skip to content
v2.278.0

IframeConfigProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appintegrations as appintegrations } from 'aws-cdk-lib';
const iframeConfigProperty: appintegrations.CfnApplication.IframeConfigProperty = {
  allow: ['allow'],
  sandbox: ['sandbox'],
};
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_appintegrations as appintegrations

iframe_config_property = appintegrations.CfnApplication.IframeConfigProperty(
    allow=["allow"],
    sandbox=["sandbox"]
)
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.appintegrations.*;

IframeConfigProperty iframeConfigProperty = IframeConfigProperty.builder()
        .allow(List.of("allow"))
        .sandbox(List.of("sandbox"))
        .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.AppIntegrations;

var iframeConfigProperty = new IframeConfigProperty {
    Allow = new [] { "allow" },
    Sandbox = new [] { "sandbox" }
};
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"

iframeConfigProperty := &IframeConfigProperty{
	Allow: []*string{
		jsii.String("allow"),
	},
	Sandbox: []*string{
		jsii.String("sandbox"),
	},
}

Properties ​

allowoptionalstring[]allowoptionaltyping.List[str]allowoptionalList<String>Allowoptionalstring[]Allowoptional*[]*string #
sandboxoptionalstring[]sandboxoptionaltyping.List[str]sandboxoptionalList<String>Sandboxoptionalstring[]Sandboxoptional*[]*string #