CfnAppAuthorizationProps Struct Added in v2.274.0
Properties for defining a CfnAppAuthorization.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appfabric as appfabric } from 'aws-cdk-lib';
const cfnAppAuthorizationProps: appfabric.CfnAppAuthorizationProps = {
app: 'app',
appBundleIdentifier: 'appBundleIdentifier',
authType: 'authType',
tenant: {
tenantDisplayName: 'tenantDisplayName',
tenantIdentifier: 'tenantIdentifier',
},
// the properties below are optional
credential: {
apiKeyCredential: {
apiKey: 'apiKey',
},
oauth2Credential: {
clientId: 'clientId',
clientSecret: 'clientSecret',
},
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
The name of the application.
appBundleIdentifierstringapp_bundle_identifierstrappBundleIdentifierStringAppBundleIdentifierstringAppBundleIdentifier*stringrequired#The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the app bundle to use for the request.
The authorization type.
credentialoptionalIResolvable | CfnAppAuthorization.CredentialPropertycredentialoptionaltyping.Union[IResolvable, CredentialProperty]credentialoptionalIResolvableCredentialoptionalIResolvableCredentialoptionalinterface{}#Contains credential information for the application.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#Tags to apply to the app authorization.
tenantIResolvable | CfnAppAuthorization.TenantPropertytenanttyping.Union[IResolvable, TenantProperty]tenantIResolvableTenantIResolvableTenantinterface{}required#Contains information about an application tenant.