Class CfnResource
- All Implemented Interfaces:
- IConstruct,- IDependable,- software.amazon.jsii.JsiiSerializable,- software.constructs.IConstruct
- Direct Known Subclasses:
- CfnAccelerator,- CfnAcceptedPortfolioShare,- CfnAccessKey,- CfnAccessLogSubscription,- CfnAccessor,- CfnAccessPoint,- CfnAccessPoint,- CfnAccessPoint,- CfnAccessPoint,- CfnAccessPointPolicy,- CfnAccessPolicy,- CfnAccessPolicy,- CfnAccount,- CfnAccount,- CfnAccount,- CfnAccountAlias,- CfnAccountAuditConfiguration,- CfnACL,- CfnActivity,- CfnAddon,- CfnAddon,- CfnADMChannel,- CfnAgent,- CfnAggregationAuthorization,- CfnAgreement,- CfnAlarm,- CfnAlarm,- CfnAlarmModel,- CfnAlert,- CfnAlias,- CfnAlias,- CfnAlias,- CfnAllowList,- CfnAnalysis,- CfnAnalyzer,- CfnAnnotationStore,- CfnAnomalyDetector,- CfnAnomalyDetector,- CfnAnomalyMonitor,- CfnAnomalySubscription,- CfnApi,- CfnApi,- CfnApiCache,- CfnApiDestination,- CfnApiGatewayManagedOverrides,- CfnApiKey,- CfnApiKey,- CfnApiMapping,- CfnApiMappingV2,- CfnApiV2,- CfnAPNSChannel,- CfnAPNSSandboxChannel,- CfnAPNSVoipChannel,- CfnAPNSVoipSandboxChannel,- CfnApp,- CfnApp,- CfnApp,- CfnApp,- CfnApp,- CfnAppBlock,- CfnAppImageConfig,- CfnApplication,- CfnApplication,- CfnApplication,- CfnApplication,- CfnApplication,- CfnApplication,- CfnApplication,- CfnApplication,- CfnApplication,- CfnApplication,- CfnApplication,- CfnApplication,- CfnApplication,- CfnApplication,- CfnApplicationCloudWatchLoggingOption,- CfnApplicationCloudWatchLoggingOptionV2,- CfnApplicationEntitlementAssociation,- CfnApplicationFleetAssociation,- CfnApplicationInstance,- CfnApplicationOutput,- CfnApplicationOutput,- CfnApplicationOutputV2,- CfnApplicationReferenceDataSource,- CfnApplicationReferenceDataSource,- CfnApplicationReferenceDataSourceV2,- CfnApplicationSettings,- CfnApplicationV2,- CfnApplicationVersion,- CfnAppMonitor,- CfnApprovedOrigin,- CfnArchive,- CfnAssessment,- CfnAssessmentTarget,- CfnAssessmentTemplate,- CfnAsset,- CfnAsset,- CfnAssetModel,- CfnAssignment,- CfnAssistant,- CfnAssistantAssociation,- CfnAssociation,- CfnAttributeGroup,- CfnAttributeGroupAssociation,- CfnAuthorizer,- CfnAuthorizer,- CfnAuthorizer,- CfnAuthorizerV2,- CfnAuthPolicy,- CfnAutoScalingGroup,- CfnBackupPlan,- CfnBackupSelection,- CfnBackupVault,- CfnBaiduChannel,- CfnBasePathMapping,- CfnBatchScramSecret,- CfnBillingGroup,- CfnBillingGroup,- CfnBot,- CfnBotAlias,- CfnBotVersion,- CfnBranch,- CfnBroker,- CfnBucket,- CfnBucket,- CfnBucket,- CfnBucketPolicy,- CfnBucketPolicy,- CfnBudget,- CfnBudgetsAction,- CfnBuild,- CfnByteMatchSet,- CfnByteMatchSet,- CfnCACertificate,- CfnCacheCluster,- CfnCachePolicy,- CfnCampaign,- CfnCampaign,- CfnCampaign,- CfnCanary,- CfnCapacityProvider,- CfnCapacityReservation,- CfnCapacityReservationFleet,- CfnCarrierGateway,- CfnCell,- CfnCertificate,- CfnCertificate,- CfnCertificate,- CfnCertificate,- CfnCertificate,- CfnCertificate,- CfnCertificateAuthority,- CfnCertificateAuthorityActivation,- CfnChannel,- CfnChannel,- CfnChannel,- CfnChannel,- CfnChannel,- CfnCidrCollection,- CfnClassifier,- CfnClientCertificate,- CfnClientVpnAuthorizationRule,- CfnClientVpnEndpoint,- CfnClientVpnRoute,- CfnClientVpnTargetNetworkAssociation,- CfnCloudFormationProduct,- CfnCloudFormationProvisionedProduct,- CfnCloudFrontOriginAccessIdentity,- CfnCluster,- CfnCluster,- CfnCluster,- CfnCluster,- CfnCluster,- CfnCluster,- CfnCluster,- CfnCluster,- CfnCluster,- CfnCluster,- CfnClusterCapacityProviderAssociations,- CfnClusterParameterGroup,- CfnClusterPolicy,- CfnClusterSecurityGroup,- CfnClusterSecurityGroupIngress,- CfnClusterSubnetGroup,- CfnCodeRepository,- CfnCodeSigningConfig,- CfnCollection,- CfnCollection,- CfnComponent,- CfnComponent,- CfnComponentType,- CfnComponentVersion,- CfnCompositeAlarm,- CfnComputeEnvironment,- CfnConfig,- CfnConfigRule,- CfnConfiguration,- CfnConfiguration,- CfnConfigurationAggregator,- CfnConfigurationAssociation,- CfnConfigurationProfile,- CfnConfigurationRecorder,- CfnConfigurationSet,- CfnConfigurationSet,- CfnConfigurationSetEventDestination,- CfnConfigurationSetEventDestination,- CfnConfigurationTemplate,- CfnConformancePack,- CfnConnectAttachment,- CfnConnection,- CfnConnection,- CfnConnection,- CfnConnectionAlias,- CfnConnector,- CfnConnector,- CfnConnector,- CfnConnectorDefinition,- CfnConnectorDefinitionVersion,- CfnConnectorProfile,- CfnConnectPeer,- CfnContact,- CfnContactChannel,- CfnContactFlow,- CfnContactFlowModule,- CfnContactList,- CfnContainer,- CfnContainer,- CfnContainerRecipe,- CfnContinuousDeploymentPolicy,- CfnControlPanel,- CfnCoreDefinition,- CfnCoreDefinitionVersion,- CfnCoreNetwork,- CfnCostCategory,- CfnCrawler,- CfnCRL,- CfnCustomActionType,- CfnCustomDataIdentifier,- CfnCustomerGateway,- CfnCustomerGatewayAssociation,- CfnCustomLineItem,- CfnCustomMetric,- CfnCustomResource,- CfnCustomResource,- CfnDashboard,- CfnDashboard,- CfnDashboard,- CfnDatabase,- CfnDatabase,- CfnDatabase,- CfnDataCatalog,- CfnDataCatalogEncryptionSettings,- CfnDataCellsFilter,- CfnDataflowEndpointGroup,- CfnDataIntegration,- CfnDataLakeSettings,- CfnDataQualityJobDefinition,- CfnDataRepositoryAssociation,- CfnDataset,- CfnDataset,- CfnDataset,- CfnDataset,- CfnDataSet,- CfnDatasetGroup,- CfnDatasetGroup,- CfnDataSource,- CfnDataSource,- CfnDataSource,- CfnDatastore,- CfnDBCluster,- CfnDBCluster,- CfnDBCluster,- CfnDBClusterParameterGroup,- CfnDBClusterParameterGroup,- CfnDBClusterParameterGroup,- CfnDBInstance,- CfnDBInstance,- CfnDBInstance,- CfnDBParameterGroup,- CfnDBParameterGroup,- CfnDBProxy,- CfnDBProxyEndpoint,- CfnDBProxyTargetGroup,- CfnDBSecurityGroup,- CfnDBSecurityGroupIngress,- CfnDBSubnetGroup,- CfnDBSubnetGroup,- CfnDBSubnetGroup,- CfnDecoderManifest,- CfnDedicatedIpPool,- CfnDedicatedIpPool,- CfnDefaultViewAssociation,- CfnDeliveryChannel,- CfnDeliveryStream,- CfnDeployment,- CfnDeployment,- CfnDeployment,- CfnDeployment,- CfnDeploymentConfig,- CfnDeploymentGroup,- CfnDeploymentStrategy,- CfnDeploymentV2,- CfnDestination,- CfnDestination,- CfnDetector,- CfnDetector,- CfnDetectorModel,- CfnDevEndpoint,- CfnDevice,- CfnDevice,- CfnDevice,- CfnDeviceDefinition,- CfnDeviceDefinitionVersion,- CfnDeviceFleet,- CfnDeviceProfile,- CfnDHCPOptions,- CfnDimension,- CfnDirectoryConfig,- CfnDiscoverer,- CfnDisk,- CfnDistribution,- CfnDistribution,- CfnDistributionConfiguration,- CfnDNSSEC,- CfnDocument,- CfnDocumentationPart,- CfnDocumentationVersion,- CfnDomain,- CfnDomain,- CfnDomain,- CfnDomain,- CfnDomain,- CfnDomain,- CfnDomain,- CfnDomain,- CfnDomainConfiguration,- CfnDomainName,- CfnDomainName,- CfnDomainName,- CfnDomainNameApiAssociation,- CfnDomainNameV2,- CfnDRTAccess,- CfnEC2Fleet,- CfnEgressOnlyInternetGateway,- CfnEIP,- CfnEIPAssociation,- CfnElasticLoadBalancerAttachment,- CfnEmailChannel,- CfnEmailIdentity,- CfnEmailTemplate,- CfnEnabledControl,- CfnEnclaveCertificateIamRoleAssociation,- CfnEndpoint,- CfnEndpoint,- CfnEndpoint,- CfnEndpoint,- CfnEndpointAccess,- CfnEndpointAuthorization,- CfnEndpointConfig,- CfnEndpointGroup,- CfnEntitlement,- CfnEntity,- CfnEntityType,- CfnEnvironment,- CfnEnvironment,- CfnEnvironment,- CfnEnvironment,- CfnEnvironment,- CfnEnvironment,- CfnEnvironmentAccountConnection,- CfnEnvironmentEC2,- CfnEnvironmentTemplate,- CfnEvaluationForm,- CfnEventBus,- CfnEventBusPolicy,- CfnEventDataStore,- CfnEventIntegration,- CfnEventInvokeConfig,- CfnEventSourceMapping,- CfnEventStream,- CfnEventSubscription,- CfnEventSubscription,- CfnEventSubscription,- CfnEventType,- CfnExecutionPlan,- CfnExperiment,- CfnExperimentTemplate,- CfnExtension,- CfnExtensionAssociation,- CfnFaq,- CfnFargateProfile,- CfnFargateProfile,- CfnFeature,- CfnFeatureGroup,- CfnFHIRDatastore,- CfnFileSystem,- CfnFileSystem,- CfnFilter,- CfnFilter,- CfnFindingsFilter,- CfnFirewall,- CfnFirewallDomainList,- CfnFirewallPolicy,- CfnFirewallRuleGroup,- CfnFirewallRuleGroupAssociation,- CfnFleet,- CfnFleet,- CfnFleet,- CfnFleet,- CfnFleetMetric,- CfnFlow,- CfnFlow,- CfnFlowEntitlement,- CfnFlowLog,- CfnFlowOutput,- CfnFlowSource,- CfnFlowTemplate,- CfnFlowVpcInterface,- CfnFlywheel,- CfnForm,- CfnFramework,- CfnFunction,- CfnFunction,- CfnFunction,- CfnFunctionConfiguration,- CfnFunctionDefinition,- CfnFunctionDefinitionVersion,- CfnFuotaTask,- CfnGameServerGroup,- CfnGameSessionQueue,- CfnGateway,- CfnGatewayResponse,- CfnGatewayRoute,- CfnGatewayRouteTableAssociation,- CfnGCMChannel,- CfnGeofenceCollection,- CfnGeoMatchSet,- CfnGitHubRepository,- CfnGlobalCluster,- CfnGlobalNetwork,- CfnGlobalReplicationGroup,- CfnGlobalTable,- CfnGrant,- CfnGraph,- CfnGraphQLApi,- CfnGraphQLSchema,- CfnGroup,- CfnGroup,- CfnGroup,- CfnGroup,- CfnGroup,- CfnGroup,- CfnGroupMembership,- CfnGroupVersion,- CfnHealthCheck,- CfnHookDefaultVersion,- CfnHookDefaultVersion,- CfnHookTypeConfig,- CfnHookTypeConfig,- CfnHookVersion,- CfnHookVersion,- CfnHost,- CfnHostedConfigurationVersion,- CfnHostedZone,- CfnHoursOfOperation,- CfnHttpApi,- CfnHttpNamespace,- CfnHub,- CfnHypervisor,- CfnIdentity,- CfnIdentityPool,- CfnIdentityPoolPrincipalTag,- CfnIdentityPoolRoleAttachment,- CfnIdentityProviderConfig,- CfnIdentityProviderConfig,- CfnImage,- CfnImage,- CfnImageBuilder,- CfnImagePipeline,- CfnImageRecipe,- CfnImageVersion,- CfnInAppTemplate,- CfnIndex,- CfnIndex,- CfnInferenceExperiment,- CfnInferenceScheduler,- CfnInfrastructureConfiguration,- CfnInput,- CfnInput,- CfnInputSecurityGroup,- CfnInsightRule,- CfnInstance,- CfnInstance,- CfnInstance,- CfnInstance,- CfnInstance,- CfnInstanceAccessControlAttributeConfiguration,- CfnInstanceFleetConfig,- CfnInstanceGroupConfig,- CfnInstanceProfile,- CfnInstanceStorageConfig,- CfnIntegration,- CfnIntegration,- CfnIntegrationAssociation,- CfnIntegrationResponse,- CfnIntegrationResponseV2,- CfnIntegrationV2,- CfnInternetGateway,- CfnIPAM,- CfnIPAMAllocation,- CfnIPAMPool,- CfnIPAMPoolCidr,- CfnIPAMResourceDiscovery,- CfnIPAMResourceDiscoveryAssociation,- CfnIPAMScope,- CfnIPSet,- CfnIPSet,- CfnIPSet,- CfnIPSet,- CfnJob,- CfnJob,- CfnJobDefinition,- CfnJobQueue,- CfnJobTemplate,- CfnJobTemplate,- CfnKey,- CfnKeyGroup,- CfnKeyPair,- CfnKeySigningKey,- CfnKeyspace,- CfnKnowledgeBase,- CfnLabel,- CfnLaunch,- CfnLaunchConfiguration,- CfnLaunchNotificationConstraint,- CfnLaunchProfile,- CfnLaunchRoleConstraint,- CfnLaunchTemplate,- CfnLaunchTemplateConstraint,- CfnLayer,- CfnLayerVersion,- CfnLayerVersion,- CfnLayerVersionPermission,- CfnLedger,- CfnLicense,- CfnLifecycleHook,- CfnLifecyclePolicy,- CfnLink,- CfnLink,- CfnLinkAssociation,- CfnList,- CfnListener,- CfnListener,- CfnListener,- CfnListenerCertificate,- CfnListenerRule,- CfnLoadBalancer,- CfnLoadBalancer,- CfnLoadBalancer,- CfnLoadBalancerTlsCertificate,- CfnLocalGatewayRoute,- CfnLocalGatewayRouteTable,- CfnLocalGatewayRouteTableVirtualInterfaceGroupAssociation,- CfnLocalGatewayRouteTableVPCAssociation,- CfnLocation,- CfnLocationEFS,- CfnLocationFSxLustre,- CfnLocationFSxONTAP,- CfnLocationFSxOpenZFS,- CfnLocationFSxWindows,- CfnLocationHDFS,- CfnLocationNFS,- CfnLocationObjectStorage,- CfnLocationS3,- CfnLocationSMB,- CfnLogAnomalyDetectionIntegration,- CfnLoggerDefinition,- CfnLoggerDefinitionVersion,- CfnLogging,- CfnLoggingConfiguration,- CfnLoggingConfiguration,- CfnLoggingConfiguration,- CfnLogGroup,- CfnLogStream,- CfnMacro,- CfnMacro,- CfnMaintenanceWindow,- CfnMaintenanceWindowTarget,- CfnMaintenanceWindowTask,- CfnManagedPolicy,- CfnMap,- CfnMaster,- CfnMatchmakingConfiguration,- CfnMatchmakingRuleSet,- CfnMember,- CfnMember,- CfnMemberInvitation,- CfnMesh,- CfnMethod,- CfnMetricFilter,- CfnMetricStream,- CfnMicrosoftAD,- CfnMicrosoftTeamsChannelConfiguration,- CfnMissionProfile,- CfnMitigationAction,- CfnMLTransform,- CfnModel,- CfnModel,- CfnModel,- CfnModelBiasJobDefinition,- CfnModelCard,- CfnModelExplainabilityJobDefinition,- CfnModelManifest,- CfnModelPackage,- CfnModelPackageGroup,- CfnModelQualityJobDefinition,- CfnModelV2,- CfnModuleDefaultVersion,- CfnModuleDefaultVersion,- CfnModuleVersion,- CfnModuleVersion,- CfnMonitor,- CfnMonitoringSchedule,- CfnMonitoringSubscription,- CfnMountTarget,- CfnMulticastGroup,- CfnMultiRegionAccessPoint,- CfnMultiRegionAccessPointPolicy,- CfnNamedQuery,- CfnNamespace,- CfnNatGateway,- CfnNetworkAcl,- CfnNetworkAclEntry,- CfnNetworkAnalyzerConfiguration,- CfnNetworkInsightsAccessScope,- CfnNetworkInsightsAccessScopeAnalysis,- CfnNetworkInsightsAnalysis,- CfnNetworkInsightsPath,- CfnNetworkInterface,- CfnNetworkInterfaceAttachment,- CfnNetworkInterfacePermission,- CfnNetworkPerformanceMetricSubscription,- CfnNode,- CfnNodegroup,- CfnNodegroup,- CfnNotebookInstance,- CfnNotebookInstanceLifecycleConfig,- CfnNotificationChannel,- CfnNotificationChannel,- CfnNotificationRule,- CfnObjectType,- CfnObservabilityConfiguration,- CfnOIDCProvider,- CfnOptionGroup,- CfnOrganizationAdmin,- CfnOrganizationalUnit,- CfnOrganizationConfigRule,- CfnOrganizationConformancePack,- CfnOriginAccessControl,- CfnOriginEndpoint,- CfnOriginRequestPolicy,- CfnOutcome,- CfnPackage,- CfnPackageVersion,- CfnPackagingConfiguration,- CfnPackagingGroup,- CfnParameter,- CfnParameterGroup,- CfnParameterGroup,- CfnParameterGroup,- CfnPartition,- CfnPartnerAccount,- CfnPatchBaseline,- CfnPermission,- CfnPermission,- CfnPermission,- CfnPermissions,- CfnPermissionSet,- CfnPhoneNumber,- CfnPipe,- CfnPipeline,- CfnPipeline,- CfnPipeline,- CfnPipeline,- CfnPipeline,- CfnPlaceIndex,- CfnPlacement,- CfnPlacementGroup,- CfnPlan,- CfnPlaybackConfiguration,- CfnPlaybackKeyPair,- CfnPolicy,- CfnPolicy,- CfnPolicy,- CfnPolicy,- CfnPolicyPrincipalAttachment,- CfnPortal,- CfnPortfolio,- CfnPortfolioPrincipalAssociation,- CfnPortfolioProductAssociation,- CfnPortfolioShare,- CfnPrefixList,- CfnPreparedStatement,- CfnPreset,- CfnPricingPlan,- CfnPricingRule,- CfnPrimaryTaskSet,- CfnPrincipalPermissions,- CfnPrivateDnsNamespace,- CfnProactiveEngagement,- CfnProfile,- CfnProfile,- CfnProfilePermission,- CfnProfilingGroup,- CfnProject,- CfnProject,- CfnProject,- CfnProject,- CfnProject,- CfnProject,- CfnProject,- CfnProject,- CfnPrompt,- CfnProtection,- CfnProtectionGroup,- CfnProvisioningTemplate,- CfnPublicDnsNamespace,- CfnPublicKey,- CfnPublicRepository,- CfnPublicTypeVersion,- CfnPublicTypeVersion,- CfnPublisher,- CfnPublisher,- CfnPullThroughCacheRule,- CfnPushTemplate,- CfnQueryDefinition,- CfnQueue,- CfnQueue,- CfnQueuePolicy,- CfnQuickConnect,- CfnRateBasedRule,- CfnReadinessCheck,- CfnRealtimeLogConfig,- CfnReceiptFilter,- CfnReceiptRule,- CfnReceiptRuleSet,- CfnRecipe,- CfnRecordingConfiguration,- CfnRecordSet,- CfnRecordSetGroup,- CfnRecoveryGroup,- CfnReferenceStore,- CfnRefreshSchedule,- CfnRegexPatternSet,- CfnRegexPatternSet,- CfnRegistry,- CfnRegistry,- CfnRegistryPolicy,- CfnRegistryPolicy,- CfnRemediationConfiguration,- CfnReplicaKey,- CfnReplicationConfiguration,- CfnReplicationGroup,- CfnReplicationInstance,- CfnReplicationSet,- CfnReplicationSubnetGroup,- CfnReplicationTask,- CfnReportDefinition,- CfnReportGroup,- CfnReportPlan,- CfnRepository,- CfnRepository,- CfnRepository,- CfnRepositoryAssociation,- CfnRequestValidator,- CfnResiliencyPolicy,- CfnResolver,- CfnResolverConfig,- CfnResolverDNSSECConfig,- CfnResolverEndpoint,- CfnResolverQueryLoggingConfig,- CfnResolverQueryLoggingConfigAssociation,- CfnResolverRule,- CfnResolverRuleAssociation,- CfnResource,- CfnResource,- CfnResourceAssociation,- CfnResourceCollection,- CfnResourceDataSync,- CfnResourceDefaultVersion,- CfnResourceDefaultVersion,- CfnResourceDefinition,- CfnResourceDefinitionVersion,- CfnResourceGroup,- CfnResourcePolicy,- CfnResourcePolicy,- CfnResourcePolicy,- CfnResourcePolicy,- CfnResourcePolicy,- CfnResourcePolicy,- CfnResourcePolicy,- CfnResourcePolicy,- CfnResourceSet,- CfnResourceSet,- CfnResourceShare,- CfnResourceSpecificLogging,- CfnResourceUpdateConstraint,- CfnResourceVersion,- CfnResourceVersion,- CfnResponseHeadersPolicy,- CfnResponsePlan,- CfnRestApi,- CfnRobot,- CfnRobotApplication,- CfnRobotApplicationVersion,- CfnRole,- CfnRoleAlias,- CfnRoom,- CfnRotation,- CfnRotationSchedule,- CfnRoute,- CfnRoute,- CfnRoute,- CfnRoute,- CfnRouteCalculator,- CfnRouteResponse,- CfnRouteResponseV2,- CfnRouteTable,- CfnRouteV2,- CfnRoutingControl,- CfnRule,- CfnRule,- CfnRule,- CfnRule,- CfnRule,- CfnRuleGroup,- CfnRuleGroup,- CfnRuleGroupsNamespace,- CfnRuleset,- CfnRunGroup,- CfnSafetyRule,- CfnSAMLProvider,- CfnSamplingRule,- CfnScalableTarget,- CfnScalingPlan,- CfnScalingPolicy,- CfnScalingPolicy,- CfnScene,- CfnSchedule,- CfnSchedule,- CfnScheduledAction,- CfnScheduledAction,- CfnScheduledAudit,- CfnScheduledQuery,- CfnScheduleGroup,- CfnSchedulingPolicy,- CfnSchema,- CfnSchema,- CfnSchema,- CfnSchemaVersion,- CfnSchemaVersionMetadata,- CfnScript,- CfnSecret,- CfnSecretTargetAttachment,- CfnSecurityConfig,- CfnSecurityConfiguration,- CfnSecurityConfiguration,- CfnSecurityGroup,- CfnSecurityGroup,- CfnSecurityGroupEgress,- CfnSecurityGroupIngress,- CfnSecurityGroupIngress,- CfnSecurityKey,- CfnSecurityPolicy,- CfnSecurityProfile,- CfnSegment,- CfnSegment,- CfnSequenceStore,- CfnServer,- CfnServer,- CfnServerCertificate,- CfnServerlessCluster,- CfnService,- CfnService,- CfnService,- CfnService,- CfnService,- CfnServiceAction,- CfnServiceActionAssociation,- CfnServiceLinkedRole,- CfnServiceNetwork,- CfnServiceNetworkServiceAssociation,- CfnServiceNetworkVpcAssociation,- CfnServiceProfile,- CfnServiceTemplate,- CfnSession,- CfnSignalCatalog,- CfnSignalingChannel,- CfnSigningProfile,- CfnSimpleAD,- CfnSimpleTable,- CfnSimulation,- CfnSimulationApplication,- CfnSimulationApplicationVersion,- CfnSink,- CfnSite,- CfnSiteToSiteVpnAttachment,- CfnSizeConstraintSet,- CfnSizeConstraintSet,- CfnSkill,- CfnSlackChannelConfiguration,- CfnSlackChannelConfiguration,- CfnSlackWorkspaceConfiguration,- CfnSMSChannel,- CfnSmsTemplate,- CfnSnapshot,- CfnSolution,- CfnSourceApiAssociation,- CfnSourceCredential,- CfnSpace,- CfnSpotFleet,- CfnSqlInjectionMatchSet,- CfnSqlInjectionMatchSet,- CfnStack,- CfnStack,- CfnStack,- CfnStack,- CfnStackFleetAssociation,- CfnStackSet,- CfnStackSet,- CfnStackSetConstraint,- CfnStackUserAssociation,- CfnStage,- CfnStage,- CfnStageV2,- CfnStateMachine,- CfnStateMachine,- CfnStaticIp,- CfnStep,- CfnStorageLens,- CfnStorageSystem,- CfnStorageVirtualMachine,- CfnStoredQuery,- CfnStream,- CfnStream,- CfnStream,- CfnStreamConsumer,- CfnStreamingDistribution,- CfnStreamingImage,- CfnStreamKey,- CfnStreamProcessor,- CfnStudio,- CfnStudio,- CfnStudioComponent,- CfnStudioSessionMapping,- CfnSubnet,- CfnSubnetCidrBlock,- CfnSubnetGroup,- CfnSubnetGroup,- CfnSubnetGroup,- CfnSubnetNetworkAclAssociation,- CfnSubnetRouteTableAssociation,- CfnSubscription,- CfnSubscriptionDefinition,- CfnSubscriptionDefinitionVersion,- CfnSubscriptionFilter,- CfnSuiteDefinition,- CfnSyncJob,- CfnTable,- CfnTable,- CfnTable,- CfnTable,- CfnTag,- CfnTagAssociation,- CfnTagOption,- CfnTagOptionAssociation,- CfnTargetGroup,- CfnTargetGroup,- CfnTask,- CfnTaskDefinition,- CfnTaskDefinition,- CfnTaskSet,- CfnTaskTemplate,- CfnTemplate,- CfnTemplate,- CfnTheme,- CfnTheme,- CfnThing,- CfnThingGroup,- CfnThingPrincipalAttachment,- CfnThingType,- CfnThreatIntelSet,- CfnTopic,- CfnTopic,- CfnTopicPolicy,- CfnTopicRule,- CfnTopicRuleDestination,- CfnTracker,- CfnTrackerConsumer,- CfnTrafficMirrorFilter,- CfnTrafficMirrorFilterRule,- CfnTrafficMirrorSession,- CfnTrafficMirrorTarget,- CfnTrail,- CfnTransitGateway,- CfnTransitGatewayAttachment,- CfnTransitGatewayConnect,- CfnTransitGatewayMulticastDomain,- CfnTransitGatewayMulticastDomainAssociation,- CfnTransitGatewayMulticastGroupMember,- CfnTransitGatewayMulticastGroupSource,- CfnTransitGatewayPeering,- CfnTransitGatewayPeeringAttachment,- CfnTransitGatewayRegistration,- CfnTransitGatewayRoute,- CfnTransitGatewayRouteTable,- CfnTransitGatewayRouteTableAssociation,- CfnTransitGatewayRouteTableAttachment,- CfnTransitGatewayRouteTablePropagation,- CfnTransitGatewayVpcAttachment,- CfnTrigger,- CfnTrustAnchor,- CfnTypeActivation,- CfnTypeActivation,- CfnUrl,- CfnUsagePlan,- CfnUsagePlanKey,- CfnUser,- CfnUser,- CfnUser,- CfnUser,- CfnUser,- CfnUser,- CfnUserGroup,- CfnUserHierarchyGroup,- CfnUserPool,- CfnUserPoolClient,- CfnUserPoolDomain,- CfnUserPoolGroup,- CfnUserPoolIdentityProvider,- CfnUserPoolResourceServer,- CfnUserPoolRiskConfigurationAttachment,- CfnUserPoolUICustomizationAttachment,- CfnUserPoolUser,- CfnUserPoolUserToGroupAttachment,- CfnUserProfile,- CfnUserProfile,- CfnUserToGroupAddition,- CfnVariable,- CfnVariantStore,- CfnVdmAttributes,- CfnVehicle,- CfnVerifiedAccessEndpoint,- CfnVerifiedAccessGroup,- CfnVerifiedAccessInstance,- CfnVerifiedAccessTrustProvider,- CfnVersion,- CfnView,- CfnVirtualCluster,- CfnVirtualGateway,- CfnVirtualMFADevice,- CfnVirtualNode,- CfnVirtualRouter,- CfnVirtualService,- CfnVoiceChannel,- CfnVolume,- CfnVolume,- CfnVolume,- CfnVolumeAttachment,- CfnVPC,- CfnVpcAttachment,- CfnVPCCidrBlock,- CfnVpcConnection,- CfnVPCConnection,- CfnVpcConnector,- CfnVPCDHCPOptionsAssociation,- CfnVpcEndpoint,- CfnVPCEndpoint,- CfnVPCEndpointConnectionNotification,- CfnVPCEndpointService,- CfnVPCEndpointServicePermissions,- CfnVPCGatewayAttachment,- CfnVpcIngressConnection,- CfnVpcLink,- CfnVpcLink,- CfnVPCPeeringConnection,- CfnVPNConnection,- CfnVPNConnectionRoute,- CfnVPNGateway,- CfnVPNGatewayRoutePropagation,- CfnWaitCondition,- CfnWaitCondition,- CfnWaitConditionHandle,- CfnWaitConditionHandle,- CfnWarmPool,- CfnWebACL,- CfnWebACL,- CfnWebACL,- CfnWebACLAssociation,- CfnWebACLAssociation,- CfnWebhook,- CfnWirelessDevice,- CfnWirelessDeviceImportTask,- CfnWirelessGateway,- CfnWorkflow,- CfnWorkflow,- CfnWorkflow,- CfnWorkgroup,- CfnWorkGroup,- CfnWorkspace,- CfnWorkspace,- CfnWorkspace,- CfnWorkspace,- CfnWorkteam,- CfnXssMatchSet,- CfnXssMatchSet
Example:
 import software.amazon.awscdk.core.*;
 public class MyConstruct extends Resource implements ITaggable {
     public final Object tags;
     public MyConstruct(Construct scope, String id) {
         super(scope, id);
         CfnResource.Builder.create(this, "Resource")
                 .type("Whatever::The::Type")
                 .properties(Map.of(
                         // ...
                         "Tags", this.tags.getRenderedTags()))
                 .build();
     }
 }
 - 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObjectsoftware.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstructIConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstructsoftware.constructs.IConstruct.Jsii$Default
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedCfnResource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnResource(software.amazon.jsii.JsiiObjectRef objRef) CfnResource(software.constructs.Construct scope, String id, CfnResourceProps props) Creates a resource construct.
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddDeletionOverride(String path) Syntactic sugar foraddOverride(path, undefined).voidaddDependsOn(CfnResource target) Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.voidaddMetadata(String key, Object value) Add a value to the CloudFormation Resource Metadata.voidaddOverride(String path, Object value) Adds an override to the synthesized CloudFormation resource.voidaddPropertyDeletionOverride(String propertyPath) Adds an override that deletes the value of a property from the resource definition.voidaddPropertyOverride(String propertyPath, Object value) Adds an override to a resource property.voidSets the deletion policy of the resource based on the removal policy specified.voidapplyRemovalPolicy(RemovalPolicy policy) Sets the deletion policy of the resource based on the removal policy specified.voidapplyRemovalPolicy(RemovalPolicy policy, RemovalPolicyOptions options) Sets the deletion policy of the resource based on the removal policy specified.Returns a token for an runtime attribute of this resource.Options for this resource, such as condition, update policy etc.AWS resource type.getMetadata(String key) Retrieve a value value from the CloudFormation Resource Metadata.Return properties modified after initiation.static BooleanisCfnResource(software.constructs.IConstruct construct) Check whether the given construct is a CfnResource.renderProperties(Map<String, Object> props) protected BooleanCan be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.toString()Returns a string representation of this construct.protected voidvalidateProperties(Object _properties) Methods inherited from class software.amazon.awscdk.core.CfnRefElementgetRefMethods inherited from class software.amazon.awscdk.core.CfnElementgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.ConstructgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObjectjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Constructor Details- 
CfnResourceprotected CfnResource(software.amazon.jsii.JsiiObjectRef objRef) 
- 
CfnResourceprotected CfnResource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) 
- 
CfnResource@Stability(Stable) public CfnResource(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnResourceProps props) Creates a resource construct.- Parameters:
- scope- This parameter is required.
- id- This parameter is required.
- props- This parameter is required.
 
 
- 
- 
Method Details- 
isCfnResource@Stability(Stable) @NotNull public static Boolean isCfnResource(@NotNull software.constructs.IConstruct construct) Check whether the given construct is a CfnResource.- Parameters:
- construct- This parameter is required.
 
- 
addDeletionOverrideSyntactic sugar foraddOverride(path, undefined).- Parameters:
- path- The path of the value to delete. This parameter is required.
 
- 
addDependsOnIndicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.This can be used for resources across stacks (or nested stack) boundaries and the dependency will automatically be transferred to the relevant scope. - Parameters:
- target- This parameter is required.
 
- 
addMetadataAdd a value to the CloudFormation Resource Metadata.- Parameters:
- key- This parameter is required.
- value- This parameter is required.
- See Also:
 
- 
addOverrideAdds an override to the synthesized CloudFormation resource.To add a property override, either use addPropertyOverrideor prefixpathwith "Properties." (i.e.Properties.TopicName).If the override is nested, separate each nested level using a dot (.) in the path parameter. If there is an array as part of the nesting, specify the index in the path. To include a literal .in the property name, prefix with a\. In most programming languages you will need to write this as"\\."because the\itself will need to be escaped.For example, cfnResource.addOverride("Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes", List.of("myattribute")); cfnResource.addOverride("Properties.GlobalSecondaryIndexes.1.ProjectionType", "INCLUDE");would add the overrides "Properties": { "GlobalSecondaryIndexes": [ { "Projection": { "NonKeyAttributes": [ "myattribute" ] ... } ... }, { "ProjectionType": "INCLUDE" ... }, ] ... }The valueargument toaddOverridewill not be processed or translated in any way. Pass raw JSON values in here with the correct capitalization for CloudFormation. If you pass CDK classes or structs, they will be rendered with lowercased key names, and CloudFormation will reject the template.- Parameters:
- path-- The path of the property, you can use dot notation to override values in complex types.
 
- value-- The value.
 
 
- 
addPropertyDeletionOverrideAdds an override that deletes the value of a property from the resource definition.- Parameters:
- propertyPath- The path to the property. This parameter is required.
 
- 
addPropertyOverride@Stability(Stable) public void addPropertyOverride(@NotNull String propertyPath, @NotNull Object value) Adds an override to a resource property.Syntactic sugar for addOverride("Properties.<...>", value).- Parameters:
- propertyPath- The path of the property. This parameter is required.
- value- The value. This parameter is required.
 
- 
applyRemovalPolicy@Stability(Stable) public void applyRemovalPolicy(@Nullable RemovalPolicy policy, @Nullable RemovalPolicyOptions options) Sets the deletion policy of the resource based on the removal policy specified.The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced. The resource can be deleted ( RemovalPolicy.DESTROY), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN).- Parameters:
- policy-
- options-
 
- 
applyRemovalPolicySets the deletion policy of the resource based on the removal policy specified.The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced. The resource can be deleted ( RemovalPolicy.DESTROY), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN).- Parameters:
- policy-
 
- 
applyRemovalPolicy@Stability(Stable) public void applyRemovalPolicy()Sets the deletion policy of the resource based on the removal policy specified.The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced. The resource can be deleted ( RemovalPolicy.DESTROY), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN).
- 
getAttReturns a token for an runtime attribute of this resource.Ideally, use generated attribute accessors (e.g. resource.arn), but this can be used for future compatibility in case there is no generated attribute.- Parameters:
- attributeName- The name of the attribute. This parameter is required.
 
- 
getMetadataRetrieve a value value from the CloudFormation Resource Metadata.- Parameters:
- key- This parameter is required.
- See Also:
 
- 
renderProperties@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Parameters:
- props- This parameter is required.
 
- 
shouldSynthesizeCan be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.- Returns:
- trueif the resource should be included or- falseis the resource should be omitted.
 
- 
toStringReturns a string representation of this construct.- Overrides:
- toStringin class- software.constructs.Construct
- Returns:
- a string representation of this resource
 
- 
validateProperties- Parameters:
- _properties- This parameter is required.
 
- 
getCfnOptionsOptions for this resource, such as condition, update policy etc.
- 
getCfnProperties
- 
getCfnResourceTypeAWS resource type.
- 
getUpdatedProperitesReturn properties modified after initiation.Resources that expose mutable properties should override this function to collect and return the properties object for this resource. 
 
-